Skip to main content
POST
/
api
/
v1
/
runtime
/
auth
/
discover
Discover tenant from API key (CLI Login)
curl --request POST \
  --url https://api.runflow.ai/api/v1/runtime/auth/discover \
  --header 'Content-Type: application/json' \
  --data '
{
  "apiKey": "sk-1234567890abcdef..."
}
'
{
  "success": true,
  "data": {
    "tenantId": "<string>",
    "tenantName": "<string>",
    "tenantDomain": "<string>",
    "apiKeyId": "<string>",
    "apiKeyName": "<string>",
    "scopes": [
      "<string>"
    ],
    "isActive": true,
    "expiresAt": "<string>",
    "lastUsedAt": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.runflow.ai/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
apiKey
string
required

API key to validate and discover tenant

Example:

"sk-1234567890abcdef..."

Response

API key information retrieved successfully

success
boolean
required

Success status

data
object
required

Discovery data