secrets

List secret keys for an agent.

Changed on

Returns a paginated list of secret keys with creation timestamps. Secret values are never included in the response.

get/api/secret/{agentName}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/secret/{agentName}
  • Auth: HTTP bearer

Path parameters

agentNamestring required

Agent name.

Query parameters

limitinteger

Maximum number of items to return.

page_tokenstring

Opaque pagination token from a previous response.

sort_by'key' | 'created_at'

Secret field used to order results before pagination.

sort_order'asc' | 'desc'

Sort direction. Defaults to ascending when sort_by is set.

Response

Paginated secret keys.

next_page_tokenstring required

Changes

    • info

      added the new optional query request parameter sort_by

    • info

      added the new optional query request parameter sort_order

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status