Create a registry token
POST
/v1/algorithms/registry-tokenscurl -X POST 'https://api.embodiflow.io/v1/algorithms/registry-tokens' \
-H 'Authorization: Bearer $EMBODIFLOW_PAT' \
-H 'Content-Type: application/json' \
-d '{
"name": "string"
}'Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Header parameters
- Idempotency-Keystring
Optional idempotency key, at most 255 characters (UUIDv4 recommended). A repeated key returns the first response byte-for-byte, including a 5xx. The same key with a different body, or a second in-flight request, returns 409 IDEMPOTENCY_CONFLICT. Keys are unique per tenant and retained for 24 hours.
Request body
Content-Typeapplication/json
- namestringrequired
Responses
Success
- dataobjectrequired
- registrystringrequired
- repositorystringrequired
- usernamestringrequired
- passwordstringrequired
- expiresAtstringrequired
Response example
{
"data": {
"registry": "string",
"repository": "string",
"username": "string",
"password": "string",
"expiresAt": "string"
}
}Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1