Skip to main content
GET
/
credential
List all credentials
curl --request GET \
  --url https://api.example.com/credential/ \
  --header 'x-user-id: <x-user-id>'
{
  "credentials": [
    {
      "data": {},
      "id": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "user_id": "<string>"
    }
  ],
  "total": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.agentscope.io/llms.txt

Use this file to discover all available pages before exploring further.

Headers

x-user-id
string
required

Caller's user ID. Temporary header-based identity; will be replaced by JWT auth.

Response

Successful Response

Response body for listing credentials.

credentials
CredentialRecord · object[]
required

Credential records.

total
integer
required

Total number of credentials.