List credentials
GET
/credentials
const url = 'https://api.somebodyai.co/api/v1/credentials?page=1&limit=20';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.somebodyai.co/api/v1/credentials?page=1&limit=20' \ --header 'Authorization: Bearer <token>'Returns a paginated list of credentials. Secret payloads are never returned.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”page
Page number
integer
Page number
limit
Items per page (max 100)
integer
Items per page (max 100)
Responses
Section titled “Responses”Paginated list of credentials
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
name
required
string
provider
required
string
capabilities
required
Array<string>
endpoint
string
deployment
string
createdAt
required
string format: date-time
defaultFor
required
Capabilities this credential is the organization default for.
Array<string>
lastError
The last refusal a runtime reported for this key. Absent once a later call succeeds.
object
code
required
string
message
string
at
required
string format: date-time
agentId
required
string
sessionId
string
pagination
required
object
page
required
number
limit
required
number
total
required
number
totalPages
required
number
Example
{ "data": [ { "id": "507f1f77bcf86cd799439011", "name": "OpenAI API Key", "provider": "unknown", "capabilities": [ "speech-to-speech" ], "endpoint": "https://my-resource.openai.azure.com", "deployment": "realtime-prod", "createdAt": "2024-01-15T10:30:00.000Z", "defaultFor": [ "speech-to-speech" ], "lastError": { "code": "provider_quota_exhausted", "at": "2026-11-08T14:02:00.000Z" } } ], "pagination": { "page": 1, "limit": 20, "total": 100, "totalPages": 5 }}Unauthorized - missing or invalid auth
Media typeapplication/json
object
error
required
string
details
Array<string>
Example
{ "error": "Resource not found", "details": [ "Field is required" ]}