Skip to main content
Version: 1.0.0

Koia Platform API - Public Endpoints

Koia Platform API - Public endpoints for AI agent inference.

This API provides public access to AI agent inference capabilities without requiring user authentication. Use your agent's access token for authorization.

Authentication​

Use the agent's access token in the Authorization header as Bearer token.

Session Management​

  • For the first message, do not include sessionId in the request
  • The response will include a sessionId that should be used in subsequent messages to maintain conversation context
  • Include the sessionId in all follow-up messages to continue the same conversation

Error Handling​

The API uses consistent error responses:

  • 400: Validation errors
  • 401: Authentication/authorization errors
  • 404: Agent not found
  • 500: Internal server errors

Authentication​

Agent access token

Security Scheme Type:

http

HTTP Authorization Scheme:

bearer

Bearer format:

JWT

Contact

Koia Platform Support:

URL: https://ko-ia.com