GET
/
credentials
curl --request GET \
  --url https://api.voiceos.io/credentials \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "uri": "<string>",
      "credential": {
        "provider": "openai",
        "api_key": "<string>"
      },
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "account_id": "<string>",
      "metadata": {}
    }
  ],
  "index": 123,
  "has_next": true
}

Authorizations

Authorization
string
header
required

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

Query Parameters

created_after
string
created_before
string
index
integer
default:1
size
integer
default:100

Response

200
application/json
Successful Response
items
object[]
required

The list of credentials returned.

index
integer
required

The current index of the page.

has_next
boolean
required

Whether there is a next page.