openapi: 3.1.0 info: title: Fleet-RLM Lite API version: 0.8.0 paths: /health: get: summary: Health operationId: health_health_get responses: '200': description: Successful Response content: application/json: schema: additionalProperties: type: string type: object title: Response Health Health Get /sessions: get: summary: List Sessions operationId: list_sessions_sessions_get responses: '200': description: Successful Response content: application/json: schema: additionalProperties: true type: object title: Response List Sessions Sessions Get /skills: get: summary: Get Skills Catalog operationId: get_skills_catalog_skills_get parameters: - name: session_id in: query required: false schema: type: string default: default title: Session Id responses: '200': description: Successful Response content: application/json: schema: type: object additionalProperties: type: string title: Response Get Skills Catalog Skills Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /skills/pull: post: summary: Pull Skills To Local operationId: pull_skills_to_local_skills_pull_post parameters: - name: session_id in: query required: false schema: type: string default: default title: Session Id responses: '200': description: Successful Response content: application/json: schema: type: object additionalProperties: type: array items: type: string title: Response Pull Skills To Local Skills Pull Post '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /sessions/{session_id}/files: get: summary: List Files operationId: list_files_sessions__session_id__files_get parameters: - name: session_id in: path required: true schema: type: string title: Session Id responses: '200': description: Successful Response content: application/json: schema: type: object additionalProperties: true title: Response List Files Sessions Session Id Files Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /sessions/{session_id}/attach: post: summary: Attach File operationId: attach_file_sessions__session_id__attach_post parameters: - name: session_id in: path required: true schema: type: string title: Session Id requestBody: required: true content: multipart/form-data: schema: $ref: '#/components/schemas/Body_attach_file_sessions__session_id__attach_post' responses: '200': description: Successful Response content: application/json: schema: type: object additionalProperties: type: string title: Response Attach File Sessions Session Id Attach Post '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /sessions/{session_id}/turn: post: summary: Stream Turn operationId: stream_turn_sessions__session_id__turn_post parameters: - name: session_id in: path required: true schema: type: string title: Session Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/TurnRequest' responses: '200': description: Server-Sent Events for Turn status, activity, completion, or failure. content: text/event-stream: schema: type: string '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' components: schemas: Body_attach_file_sessions__session_id__attach_post: properties: file: type: string contentMediaType: application/octet-stream title: File type: object required: - file title: Body_attach_file_sessions__session_id__attach_post HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError TurnRequest: properties: task: type: string maxLength: 100000 minLength: 1 title: Task type: object required: - task title: TurnRequest description: User prompt sent to one Session's Fleet engine. ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context type: object required: - loc - msg - type title: ValidationError