Create a new credential
credential
Create a new credential
Store a new credential.
Args:
body (CreateCredentialRequest): Credential payload to store.
user_id (str): Injected authenticated user ID.
storage (StorageBase): Injected storage backend.
Returns:
CreateCredentialResponse: The server-assigned credential identifier.
POST
Create a new credential
Documentation Index
Fetch the complete documentation index at: https://docs.agentscope.io/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Caller's user ID. Temporary header-based identity; will be replaced by JWT auth.
Body
application/json
Request body for creating a new credential.
Credential payload (e.g. API keys).
Response
Successful Response
Response body after creating a credential.
Server-assigned credential identifier.