Authentication
To use the DataGyro API, you need to authenticate your requests using API tokens. This guide explains how to create, use, and manage your API tokens.Creating API Tokens
To create a new API token:- Log in to your DataGyro account at app.datagyro.com
- Navigate to the “API Tokens” tab at app.datagyro.com/tokens
- Click the “Create New Token” button
- Your new API token will be generated and displayed
- Copy your token and store it securely
Using API Tokens
To authenticate your API requests, include your API token in theapikey header of each request:
Managing API Tokens
Creating Multiple Tokens
You can create multiple API tokens for different applications or environments. This is a best practice that allows you to:- Use different tokens for development and production
- Revoke individual tokens if they’re compromised
- Track which token is being used for each integration
Deleting Tokens
To delete an API token that’s no longer needed or may have been compromised:- Log in to app.datagyro.com
- Go to the “API Tokens” tab at app.datagyro.com/tokens
- Find the token you want to delete
- Click the “Delete” button next to the token
- Confirm the deletion when prompted
Security Best Practices
To keep your DataGyro account and data secure:- Never hardcode API tokens directly in your application code
- Use environment variables or secure secret management systems
- Rotate your tokens periodically
- Delete tokens that are no longer in use
- Use different tokens for different environments or applications
API Reference
Explore the DataGyro API endpoints
Search
Learn about our natural language search capabilities
Evaluate
Coming soon: Assess the quality of your LLM outputs