Skip to main content

Delegation

GET 

/v1/delegation

info

Get an API Token (Bearer Token) via http://nilai.nillion.com

Get a delegation token for prompt store access.

  • prompt_delegation_request: Query parameter containing the delegation request
  • user: Authenticated user information (through HTTP Bearer header)
  • Returns: Delegation token for prompt store access

Delegation Token Details

  • token: The delegation token to be used
  • did: Decentralized identifier associated with the token

Security Note

Delegation tokens provide controlled access to prompt store resources. Store them securely and monitor their usage.

Request

Responses

Successful Response