1C Platform1cPlatform
Back to Documentation

Complete REST API documentation for all endpoints

POST
/v1/agents

Create a new AI agent

GET
/v1/agents/{id}

Get agent details

PUT
/v1/agents/{id}

Update agent configuration

DELETE
/v1/agents/{id}

Delete an agent

POST
/v1/agents/{id}/chat

Send message to agent

Example Request

POST https://api.1cplatform.com/v1/agents
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "name": "customer-support",
  "model": "gpt-4",
  "instructions": "You are a helpful assistant",
  "temperature": 0.7
}

Example Response

{
  "id": "agent_123abc",
  "name": "customer-support",
  "model": "gpt-4",
  "created_at": "2025-01-15T10:30:00Z",
  "status": "active"
}