Get Agent API Keys

As an Organization Admin, list the API keys of an agent belonging to a user in your organization.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Authenticate with an Organization Admin User API key, sent in the skyfire-api-key header. Keys belonging to Organization Admins are accepted; a MEMBER key, or any Agent API key, is rejected with 401.

The agent is resolved through the ownership chain organization → user → agent, all scoped to your own organization. A user or agent that does not exist, belongs to another organization, or is not owned by the given user returns 404.

Both active and inactive keys are returned, oldest first, to support rotation and cleanup. Key material is never returned. Keys are identified by their id and the last four characters of the key.

Pagination

Results are ordered by creation time ascending and paginated by cursor.

When more results exist, the response includes a nextPageCursor (the id of the last key on the page) and carries a Link header pointing at the next page:

Link: <https://api.skyfire.xyz/api/v1/organizations/users/906fc259-…/agents/5d084831-…/api-keys?pageCursor=d52e9a3c-…>; rel="next"

Pass that value back as pageCursor to fetch the following page. When nextPageCursor is absent, you have reached the last page.

pageSize defaults to 100 and may not exceed 1000. A pageCursor that was not returned by a previous page of the same listing returns 400.

Path Params
uuid
required

Unique identifier of the user who owns the agent. e.g. "906fc259-ef0a-4736-bdcd-c1d5a78db483"

uuid
required

Unique identifier of the agent whose keys to list. e.g. "5d084831-4a11-4970-bf62-bb6fc0b9f3a2"

Query Params
integer
1 to 1000

Number of keys to return per page. Defaults to 100, maximum 1000. e.g. 50

string

Cursor for the next page, taken from nextPageCursor in the previous response. Results are ordered by creation time ascending, and the cursor is the ID of the last key on the previous page.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json