openapi: 3.0.3
info: { title: TransformAgent API, version: 0.1.0 }
servers: [ { url: https://api.transformagent.ai } ]
paths:
  /v1/tasks:
    post:
      summary: Create a workflow task
      requestBody:
        required: true
        content: { application/json: { schema: { type: object, properties: { accelerator: {type: string}, input: {type: object} } } } }
      responses:
        "200": { description: Accepted, content: { application/json: { schema: { type: object, properties: { id: { type: string } } } } } }
  /v1/events:
    post:
      summary: Ingest an event
      requestBody:
        required: true
        content: { application/json: { schema: { type: object, properties: { source: {type: string}, payload: {type: object} } } } }
      responses: { "204": { description: No Content } }
