```html API Documentation - OmniMind AI Nexus

API Documentation

Comprehensive guide to integrating with OmniMind's powerful API.

Getting Started

The OmniMind API is organized around REST and uses standard HTTP response codes, authentication, and verbs. All API requests must be made over HTTPS.

curl
# Test the API
curl -X GET 'https://api.omnimind.ai/v1/ping' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Authentication

Authenticate your API requests by including your secret API key in the Authorization header. API keys can be obtained from your account dashboard.

curl
curl -X GET 'https://api.omnimind.ai/v1/agents' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json'

Keep your API keys secure and never expose them in client-side code. All API requests must be made from server-side code.

Endpoints

Agents

GET /v1/agents

List all agents available to your account.

Example Response
{
  "data": [
    {
      "id": "agent_123",
      "name": "Research Assistant",
      "description": "Specialized in web research and summarization",
      "created_at": "2023-01-15T08:30:00Z"
    }
  ]
}
POST /v1/agents

Create a new agent with the specified configuration.

Request Body
{
  "name": "New Agent",
  "description": "Custom agent for specific tasks",
  "skills": ["research", "summarization"]
}
Example Response
{
  "data": {
    "id": "agent_456",
    "name": "New Agent",
    "description": "Custom agent for specific tasks",
    "created_at": "2023-06-20T14:45:00Z"
  }
}

Skills

GET /v1/skills

List all available skills that can be assigned to agents.