tokens
Get detailed information for a specific token
Retrieve comprehensive details about an API token including its permissions, usage statistics, and configuration. This endpoint is useful for auditing token access and monitoring usage.
Access Control
- Users can view details for their own tokens
- Administrators can view any token in their organization
Token Scopes
Scopes define what operations a token can perform:
experiments:read
: View experiment dataexperiments:write
: Create and modify experimentsreports:read
: Access report datatargets:read
: View target catalogtokens:write
: Manage API tokensusers:read
: View user informationinvoices:read
: Access billing information
Metadata Fields
The metadata
object may contain:
ip_whitelist
: Array of allowed IP addresses/rangesdescription
: Detailed description of token purposeenvironment
: Target environment (production, staging, etc.)webhook_url
: URL for token usage notifications
Usage Monitoring
- Check
usage_count
to monitor API activity - Review
last_used
to identify inactive tokens - Set up alerts for unusual usage patterns
Security Considerations
- The actual token value is never returned
- Tokens inherit user permissions but can be scoped down
- IP whitelisting adds an extra security layer
- Regular audits help maintain security
GET
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique identifier of the token to retrieve
Response
200
application/json
Successfully retrieved token information
Detailed information about a specific API token
Provides comprehensive details about a token including its permissions, usage statistics, and metadata. The actual token value is never included for security reasons.