3

AEGIS Orchestrator OpenAPI Spec

Project & dataset management endpoints for GPT integration

OpenAPI 3.0.1 YAML Specification
openapi: 3.0.1
info:
  title: AEGIS Orchestrator API
  description: Project and dataset management for AEGIS Intelligence Platform
  version: 1.0.0
servers:
  - url: https://sentinel-hub-gcti-dtm.base44.app/api
    description: AEGIS Production Server
paths:
  /datasets/upsert:
    post:
      operationId: upsertDataset
      summary: Upsert dataset metadata
      description: Create or update a dataset in the AEGIS project workspace
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - projectId
                - datasetName
              properties:
                projectId:
                  type: string
                  description: Unique project identifier
                datasetName:
                  type: string
                  description: Name of the dataset
                rowCount:
                  type: integer
                  description: Number of rows in dataset
                sample:
                  type: object
                  description: Sample data object
                metadata:
                  type: object
                  description: Additional metadata
      responses:
        "200":
          description: Dataset upserted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  datasetId:
                    type: string
                  message:
                    type: string
        "400":
          description: Invalid request
        "401":
          description: Unauthorized
  /projects/create:
    post:
      operationId: createProject
      summary: Create new project
      description: Initialize a new AEGIS project workspace
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - projectName
                - workspaceId
              properties:
                projectName:
                  type: string
                  description: Project name
                workspaceId:
                  type: string
                  description: Associated workspace ID
                description:
                  type: string
                  description: Project description
                owner:
                  type: string
                  description: Project owner email
      responses:
        "200":
          description: Project created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  projectId:
                    type: string
                  message:
                    type: string
  /intelligence/query:
    post:
      operationId: queryIntelligence
      summary: Query intelligence data
      description: Search and retrieve intelligence records
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - entityType
              properties:
                entityType:
                  type: string
                  description: Type of entity to query
                filters:
                  type: object
                  description: Query filters
                limit:
                  type: integer
                  description: Maximum results
      responses:
        "200":
          description: Query results
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                  total:
                    type: integer
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
security:
  - BearerAuth: []
Authentication Setup
For GPT Actions:
  1. Copy the YAML spec above
  2. In GPT Configuration → Actions → Import from URL or paste schema
  3. Select "Bearer" as authentication type
  4. Add your API token in the Authentication field
  5. Test the endpoints
Base URL:

https://sentinel-hub-gcti-dtm.base44.app/api

Authentication:

Bearer token in Authorization header

Authorization: Bearer YOUR_TOKEN
Available Endpoints
POST/datasets/upsert - Create/update dataset metadata
POST/projects/create - Initialize new project workspace
POST/intelligence/query - Search intelligence records