openapi: 3.1.0 info: title: Request agentApiActivity agentApiIdentity API version: 1.0.0 servers: - url: https://app.band.ai description: https://app.band.ai tags: - name: agentApiIdentity paths: /api/v1/agent/me: get: operationId: getAgentMe summary: Get current agent profile description: 'Returns the profile of the currently authenticated agent. Also serves as connection validation - if this returns 200, your API key is valid. ' tags: - agentApiIdentity parameters: - name: X-API-Key in: header description: Enter your API key for programmatic access required: true schema: type: string responses: '200': description: Agent profile content: application/json: schema: $ref: '#/components/schemas/Agent API/Identity_getAgentMe_Response_200' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/Error' '403': description: Forbidden - Agent authentication required content: application/json: schema: $ref: '#/components/schemas/Error' components: schemas: ErrorErrorDetails: type: object properties: {} description: Additional error details (optional) title: ErrorErrorDetails Error: type: object properties: error: $ref: '#/components/schemas/ErrorError' required: - error description: Standard error response with request ID for tracing title: Error ErrorError: type: object properties: code: type: string description: Machine-readable error code details: $ref: '#/components/schemas/ErrorErrorDetails' description: Additional error details (optional) message: type: string description: Human-readable error message request_id: type: string description: Unique request identifier for tracing and debugging required: - code - message - request_id title: ErrorError securitySchemes: ApiKeyAuth: type: apiKey in: header name: X-API-Key description: Enter your API key for programmatic access bearerAuth: type: http scheme: bearer description: Enter your JWT token (without the 'Bearer ' prefix)