Skip to main content
GET
/
api
/
v1
/
credentials
/
ovh
List OVH API credentials
import requests

url = "https://platform.ankra.app/api/v1/credentials/ovh"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "provider": "<string>",
    "organisation_id": "<string>",
    "system": true,
    "available": true,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "state": "<string>",
    "account_login": "<string>",
    "account_type": "<string>",
    "installation_id": 123,
    "repository_selection": "<string>",
    "co_tenant_count": 123,
    "last_synced_at": "2023-11-07T05:31:56Z",
    "syncing": false,
    "repository_count": 123,
    "health": {
      "consecutive_failures": 123,
      "last_error_class": "<string>",
      "next_attempt_at": "2023-11-07T05:31:56Z"
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Response

Credentials retrieved successfully

id
string<uuid>
required
name
string
required
provider
string
required
organisation_id
string<uuid4>
required
system
boolean
required
available
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
state
string | null
account_login
string | null
account_type
string | null
installation_id
integer | null
repository_selection
string | null
co_tenant_count
integer | null
last_synced_at
string<date-time> | null
syncing
boolean
default:false
repository_count
integer | null
health
CredentialHealthSummary · object