Make a workspace key [admin, owner or admin]

Changed on

The secret is returned only in this response. The key carries no more scope than the credential that makes it.

post/universes/{slug}/keys

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/universes/{slug}/keys
  • Auth
    HTTP bearer

Path parameters

slugstring required

The universe slug

Request body

namestring required
scopesstring[] required
expires_atstring date-time nullable

Response

Created

secretstring required

Changes