Gaia API

Gaia API as documented publicly. Contract generated from the documentation by API Evangelist (2026-12-02); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 18

GET /GaiaNet-AI/embedding-tools/raw/main/paragraph_embed/paragraph_embed.wasm GET /GaiaNet-AI/embedding-tools/raw/main/paragraph_embed/paragraph_embed.wasm #
GET /GaiaNet-AI/gaianet-node/releases/download/0.1.3/install.sh GET /GaiaNet-AI/gaianet-node/releases/download/0.1.3/install.sh #
GET /GaiaNet-AI/gaianet-node/releases/latest/download/install.sh GET /GaiaNet-AI/gaianet-node/releases/latest/download/install.sh #
GET /GaiaNet-AI/gaianet-node/releases/latest/download/uninstall.sh GET /GaiaNet-AI/gaianet-node/releases/latest/download/uninstall.sh #
GET /WasmEdge/WasmEdge/master/utils/install_v2.sh GET /WasmEdge/WasmEdge/master/utils/install_v2.sh #
DELETE /collections/default DELETE /collections/default #
PUT /collections/default PUT /collections/default #
POST /collections/default/snapshots POST /collections/default/snapshots #
GET /datasets/gaianet/paris/raw/main/paris_chunks.txt GET /datasets/gaianet/paris/raw/main/paris_chunks.txt #
GET /gaianet/Llama-2-13B-Chat-GGUF/resolve/main/llama-2-13b-chat.Q5_K_M.gguf GET /gaianet/Llama-2-13B-Chat-GGUF/resolve/main/llama-2-13b-chat.Q5_K_M.gguf #
GET /gaianet/Nomic-embed-text-v1.5-Embedding-GGUF/resolve/main/nomic-embed-text-v1.5.f16.gguf GET /gaianet/Nomic-embed-text-v1.5-Embedding-GGUF/resolve/main/nomic-embed-text-v1.5.f16.gguf #
GET /juntaoyuan/chemistry-assistant-13b/resolve/main/chemistry-assistant-13b-q5_k_m.gguf GET /juntaoyuan/chemistry-assistant-13b/resolve/main/chemistry-assistant-13b-q5_k_m.gguf #
GET /v1 Working with Coinbase AgentKit #
POST /v1/chat/completions POST /v1/chat/completions #
POST /v1/embeddings POST /v1/embeddings #
POST /v1/info POST /v1/info #
POST /v1/models POST /v1/models #
POST /v1/retrieve POST /v1/retrieve #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gaianet:gaianet-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gaianet-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Gaia API
  version: '2026-12-02'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-12-02: 18 operation(s) read from 23 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; Gaia has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 17
    documentation: 1
    pages-with-code: 14
    pages-read: 23
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-12-02'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.gaianet.ai/nodes
  - https://developer.gaianet.ai/~gitbook/mcp
  - https://docs.gaianet.ai/tutorial/coinbase
  - https://docs.gaianet.ai/tutorial/llamacpp
  - https://docs.gaianet.ai/tutorial/tool-call
  - https://docs.gaianet.ai/tutorial/translator-agent
  - https://docs.gaianet.ai/getting-started/quick-start
  - https://developer.gaianet.ai/getting-started-as-a-developer/setting-up-your-node.md
  - https://developer.gaianet.ai/getting-started-as-a-developer/setting-up-your-node/troubleshooting-your-node.md
  - https://developer.gaianet.ai/getting-started-as-a-developer/guides-and-tutorials/creating-a-formula-1-chatbot.md
  - https://docs.gaianet.ai/2.0.0/nodes
  - https://docs.gaianet.ai/getting-started/troubleshooting
  - https://docs.gaianet.ai/getting-started/install
  - https://docs.gaianet.ai/getting-started/api-reference
  - https://docs.gaianet.ai/tutorial/deepseek-cursor
  - https://developer.gaianet.ai/getting-started-as-a-developer/setting-up-your-node
  - https://docs.gaianet.ai/2.0.0/tutorial/tool-call
  - https://docs.gaianet.ai/1.0.0/user-guide/nodes
  - https://docs.gaianet.ai/1.0.0/node-guide/quick-start
  - https://docs.gaianet.ai/getting-started/advanced-deployment-options/multiple
  - https://docs.gaianet.ai/agent-integrations/obsidian
  - https://docs.gaianet.ai/agent-integrations/codegpt
  - https://docs.gaianet.ai/knowledge-bases/how-to/text
paths:
  /GaiaNet-AI/embedding-tools/raw/main/paragraph_embed/paragraph_embed.wasm:
    get:
      operationId: get_GaiaNet_AI_embedding_tools_raw_main_paragraph_embed_paragraph_embed_wasm
      tags:
      - Gaianet Ai
      summary: GET /GaiaNet-AI/embedding-tools/raw/main/paragraph_embed/paragraph_embed.wasm
      x-source: https://docs.gaianet.ai/knowledge-bases/how-to/text
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -LO https://github.com/GaiaNet-AI/embedding-tools/raw/main/paragraph_embed/paragraph_embed.wasm \n It chunks the document\
          \ based on empty lines. So, you MUST prepare your source document this way -- segment the document into sections of around 200 words\
          \ with empty lines. You can check out the Rust source code here and modify it if you need to use a different chunking strategy. \n The\
          \ paragraph_e"
  /GaiaNet-AI/gaianet-node/releases/download/0.1.3/install.sh:
    get:
      operationId: get_GaiaNet_AI_gaianet_node_releases_download_0_1_3_install_sh
      tags:
      - Gaianet Ai
      summary: GET /GaiaNet-AI/gaianet-node/releases/download/0.1.3/install.sh
      x-source: https://docs.gaianet.ai/getting-started/install
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -sSfL 'https://github.com/GaiaNet-AI/gaianet-node/releases/download/0.1.3/install.sh' | bash \n Check out the release log\
          \ here . \n Update the current Gaia node ​ \n Simply run the following command to upgrade your node. "
  /GaiaNet-AI/gaianet-node/releases/latest/download/install.sh:
    get:
      operationId: get_GaiaNet_AI_gaianet_node_releases_latest_download_install_sh
      tags:
      - Gaianet Ai
      summary: GET /GaiaNet-AI/gaianet-node/releases/latest/download/install.sh
      x-source: https://docs.gaianet.ai/tutorial/translator-agent
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -sSfL 'https://github.com/GaiaNet-AI/gaianet-node/releases/latest/download/install.sh' | bash \n You will also need the\
          \ following configurations and prerequisites to run the agent app. If you are using a Gaia node instead of your local node, replace\
          \ the http://localhost:8080 with https://node_id.gaia.domains . \n export OPENAI_BASE_URL=\"http://localhost:8080/v1\" export PYTHONPATH=${PWD}/src\
          \ exp"
  /GaiaNet-AI/gaianet-node/releases/latest/download/uninstall.sh:
    get:
      operationId: get_GaiaNet_AI_gaianet_node_releases_latest_download_uninstall_sh
      tags:
      - Gaianet Ai
      summary: GET /GaiaNet-AI/gaianet-node/releases/latest/download/uninstall.sh
      x-source: https://docs.gaianet.ai/getting-started/install
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -sSfL 'https://github.com/GaiaNet-AI/gaianet-node/releases/latest/download/uninstall.sh' | bash \n danger Important Reminder:\
          \ This command will remove all the Gaia-related files, including the nodeid.json . It's your responsibility to keep your nodeid.json\
          \ safe. If you want to run the same node after reinstalling, please save the nodeid.json file and frpc.toml file carefully. Edit this\
          \ page Pr"
  /WasmEdge/WasmEdge/master/utils/install_v2.sh:
    get:
      operationId: get_WasmEdge_WasmEdge_master_utils_install_v2_sh
      tags:
      - Wasmedge
      summary: GET /WasmEdge/WasmEdge/master/utils/install_v2.sh
      x-source: https://docs.gaianet.ai/knowledge-bases/how-to/text
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install_v2.sh | bash -s \n Download an embedding\
          \ model. "
  /collections/default:
    delete:
      operationId: delete_collections_default
      tags:
      - Collections
      summary: DELETE /collections/default
      x-source: https://docs.gaianet.ai/knowledge-bases/how-to/text
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X DELETE 'http://localhost:6333/collections/default' \n Create a new collection called default. Notice that it is 768\
          \ dimensions. That is the output vector size of the embedding model nomic-embed-text-v1.5 . If you are using a different embedding model,\
          \ you should use a dimension that fits the model. "
    put:
      operationId: put_collections_default
      tags:
      - Collections
      summary: PUT /collections/default
      x-source: https://docs.gaianet.ai/knowledge-bases/how-to/text
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutCollectionsDefaultRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X PUT 'http://localhost:6333/collections/default' \\ -H 'Content-Type: application/json' \\ --data-raw '{ \"vectors\"\
          : { \"size\": 768, \"distance\": \"Cosine\", \"on_disk\": true } }' \n Download a program to chunk a document and create embeddings. "
  /collections/default/snapshots:
    post:
      operationId: post_collections_default_snapshots
      tags:
      - Collections
      summary: POST /collections/default/snapshots
      x-source: https://docs.gaianet.ai/knowledge-bases/how-to/text
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST 'http://localhost:6333/collections/default/snapshots' \n We also recommend you to compress the snapshot file. \n\
          \ tar czvf my.snapshot.tar.gz my.snapshot \n Finally, upload the my.snapshot.tar.gz file to Huggingface so that the Gaia node can download\
          \ and use it . \n Video Guide ​ \n Next steps ​ \n Start a new Gaia node \n Customize the Gaia node \n Edit this page Previous How to\
          \ chunk and seg"
  /datasets/gaianet/paris/raw/main/paris_chunks.txt:
    get:
      operationId: get_datasets_gaianet_paris_raw_main_paris_chunks_txt
      tags:
      - Datasets
      summary: GET /datasets/gaianet/paris/raw/main/paris_chunks.txt
      x-source: https://docs.gaianet.ai/knowledge-bases/how-to/text
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -LO https://huggingface.co/datasets/gaianet/paris/raw/main/paris_chunks.txt wasmedge --dir .:. \\ --nn-preload embedding:GGML:AUTO:nomic-embed-text-v1.5.f16.gguf\
          \ \\ paragraph_embed.wasm embedding default 768 paris_chunks.txt -c 8192 \n Options ​ \n You can pass the following options to the program.\
          \ \n Using -m or --maximum_context_length to specify a context length in the CLI argument. That is to "
  /gaianet/Llama-2-13B-Chat-GGUF/resolve/main/llama-2-13b-chat.Q5_K_M.gguf:
    get:
      operationId: get_gaianet_Llama_2_13B_Chat_GGUF_resolve_main_llama_2_13b_chat_Q5_K_M_gguf
      tags:
      - Gaianet
      summary: GET /gaianet/Llama-2-13B-Chat-GGUF/resolve/main/llama-2-13b-chat.Q5_K_M.gguf
      x-source: https://docs.gaianet.ai/tutorial/llamacpp
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -LO https://huggingface.co/gaianet/Llama-2-13B-Chat-GGUF/resolve/main/llama-2-13b-chat.Q5_K_M.gguf \n Create a question\
          \ and answer set for fine-tuning ​ \n Next we came up with 1700+ pairs of QAs for the chemistry subject. It is like the following in\
          \ a CSV file . \n Question Answer What is unique about hydrogen? It's the most abundant element in the universe, making up over 75%\
          \ of all matter. Wh"
  /gaianet/Nomic-embed-text-v1.5-Embedding-GGUF/resolve/main/nomic-embed-text-v1.5.f16.gguf:
    get:
      operationId: get_gaianet_Nomic_embed_text_v1_5_Embedding_GGUF_resolve_main_nomic_embed_text_v
      tags:
      - Gaianet
      summary: GET /gaianet/Nomic-embed-text-v1.5-Embedding-GGUF/resolve/main/nomic-embed-text-v1.5.f16.gguf
      x-source: https://docs.gaianet.ai/knowledge-bases/how-to/text
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -LO https://huggingface.co/gaianet/Nomic-embed-text-v1.5-Embedding-GGUF/resolve/main/nomic-embed-text-v1.5.f16.gguf \n\
          \ The embedding model is a special kind of LLM that turns sentences into vectors. The vectors can then be stored in a vector database\
          \ and searched later. When the sentences are from a body of text that represents a knowledge domain, that vector database becomes our\
          \ RAG knowledge"
  /juntaoyuan/chemistry-assistant-13b/resolve/main/chemistry-assistant-13b-q5_k_m.gguf:
    get:
      operationId: get_juntaoyuan_chemistry_assistant_13b_resolve_main_chemistry_assistant_13b_q5_k
      tags:
      - Juntaoyuan
      summary: GET /juntaoyuan/chemistry-assistant-13b/resolve/main/chemistry-assistant-13b-q5_k_m.gguf
      x-source: https://docs.gaianet.ai/tutorial/llamacpp
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -LO https://huggingface.co/juntaoyuan/chemistry-assistant-13b/resolve/main/chemistry-assistant-13b-q5_k_m.gguf \n Note\
          \ 3 If you want to use a checkpoint to generate a lora.bin file, use the following command. This is needed when you believe the final\
          \ lora.bin is an overfit. \n ../build/bin/finetune --model-base llama-2-13b-chat.Q5_K_M.gguf --checkpoint-in checkpoint-250.gguf --only-write-lora\
          \ -"
  /v1:
    get:
      operationId: get_v1
      tags:
      - Api
      summary: Working with Coinbase AgentKit
      x-source: https://docs.gaianet.ai/tutorial/coinbase
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/chat/completions:
    post:
      operationId: post_v1_chat_completions
      tags:
      - Chat
      summary: POST /v1/chat/completions
      x-source: https://docs.gaianet.ai/getting-started/api-reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1ChatCompletionsRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1ChatCompletionsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://node_id.gaia.domains/v1/chat/completions \\ -H 'accept:application/json' \\ -H 'Content-Type: application/json'\
          \ \\ -H 'Authorization: Bearer YOUR_API_KEY_GOES_HERE' \\ -d '{\"messages\":[{\"role\":\"system\", \"content\": \"You are a helpful\
          \ assistant.\"}, {\"role\":\"user\", \"content\": \"What is the capital of France?\"}], \"model\": \"model_name\"}' \n Response: \n\
          \ {\"id\":\"chatcmpl-bcfeebe0-5372-42c0-"
  /v1/embeddings:
    post:
      operationId: post_v1_embeddings
      tags:
      - Embeddings
      summary: POST /v1/embeddings
      x-source: https://docs.gaianet.ai/getting-started/api-reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1EmbeddingsRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1EmbeddingsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST https://node_id.gaia.domains/v1/embeddings \ -H ''accept:application/json'' \ -H ''Content-Type: application/json''
          \ -H ''Authorization: Bearer YOUR_API_KEY_GOES_HERE'' \ -d ''{"model": "nomic-embed-text-v1.5.f16", "input":["Paris, city and capital
          of France, ..., for Paris has retained its importance as a centre for education and intellectual pursuits.", "Paris’s site at a crossroads
          ..., '
  /v1/info:
    post:
      operationId: post_v1_info
      tags:
      - Info
      summary: POST /v1/info
      x-source: https://docs.gaianet.ai/getting-started/api-reference
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1InfoResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://node_id.gaia.domains/v1/info \n Response: \n { \"version\": \"0.5.0\", \"plugin_version\": \"b2694 (commit\
          \ 0d56246f)\", \"port\": \"8080\", \"models\": [ { \"name\": \"Llama-2-7b-chat-hf-Q5_K_M\", \"type\": \"chat\", \"prompt_template\"\
          : \"Llama2Chat\", \"n_predict\": 1024, \"n_gpu_layers\": 100, \"ctx_size\": 4096, \"batch_size\": 512, \"temperature\": 1.0, \"top_p\"\
          : 1.0, \"repeat_penalty\": 1.1, \"presence_penalty\":"
  /v1/models:
    post:
      operationId: post_v1_models
      tags:
      - Models
      summary: POST /v1/models
      x-source: https://docs.gaianet.ai/getting-started/api-reference
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1ModelsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://node_id.gaia.domains/v1/models \n Response: \n {\"object\":\"list\",\"data\":[{\"id\":\"Llama-3-8B-Instruct-262k-Q5_K_M\"\
          ,\"created\":1716383261,\"object\":\"model\",\"owned_by\":\"Not specified\"},{\"id\":\"nomic-embed-text-v1.5.f16\",\"created\":1716383261,\"\
          object\":\"model\",\"owned_by\":\"Not specified\"}]}% \n Get the node info ​ \n The info endpoint provides detailed information about\
          \ the node. \n Request: "
  /v1/retrieve:
    post:
      operationId: post_v1_retrieve
      tags:
      - Retrieve
      summary: POST /v1/retrieve
      x-source: https://docs.gaianet.ai/getting-started/api-reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1RetrieveRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1RetrieveResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://node_id.gaia.domains/v1/retrieve \\ -H 'accept:application/json' \\ -H 'Content-Type: application/json'\
          \ \\ -H 'Authorization: Bearer YOUR_API_KEY_GOES_HERE' \\ -d '{\"messages\":[{\"role\":\"system\", \"content\": \"You are a helpful\
          \ assistant.\"}, {\"role\":\"user\", \"content\": \"What is the location of Paris?\"}], \"model\":\"nomic-embed-text-v1.5.f16\"}' \n\
          \ Response: \n { \"points\": [ { \"source\": \"\\\""
components:
  schemas:
    PutCollectionsDefaultRequest:
      type: object
      properties:
        vectors:
          type: object
          properties:
            size:
              type: integer
            distance:
              type: string
            on_disk:
              type: boolean
    PostV1ChatCompletionsRequest:
      type: object
      properties:
        messages:
          type: array
          items:
            type: object
            properties:
              role:
                type: string
              content:
                type: string
        model:
          type: string
    PostV1ChatCompletionsResponse:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
        created:
          type: integer
        model:
          type: string
        choices:
          type: array
          items:
            type: object
            properties:
              index:
                type: integer
              message:
                type: object
                properties:
                  role:
                    type: string
                  content:
                    type: string
              finish_reason:
                type: string
        usage:
          type: object
          properties:
            prompt_tokens:
              type: integer
            completion_tokens:
              type: integer
            total_tokens:
              type: integer
    PostV1EmbeddingsRequest:
      type: object
      properties:
        model:
          type: string
        input:
          type: array
          items:
            type: string
    PostV1EmbeddingsResponse:
      type: object
      properties:
        object:
          type: string
        data:
          type: array
          items:
            type: object
            properties:
              index:
                type: integer
              object:
                type: string
              embedding:
                type: array
                items:
                  type: number
        model:
          type: string
        usage:
          type: object
          properties:
            prompt_tokens:
              type: integer
            completion_tokens:
              type: integer
            total_tokens:
              type: integer
    PostV1InfoResponse:
      type: object
      properties:
        version:
          type: string
        plugin_version:
          type: string
        port:
          type: string
        models:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              type:
                type: string
              prompt_template:
                type: string
              n_predict:
                type: integer
              n_gpu_layers:
                type: integer
              ctx_size:
                type: integer
              batch_size:
                type: integer
              temperature:
                type: number
              top_p:
                type: number
              repeat_penalty:
                type: number
              presence_penalty:
                type: number
              frequency_penalty:
                type: number
        qdrant_config:
          type: object
          properties:
            url:
              type: string
            collection_name:
              type: string
            limit:
              type: integer
            score_threshold:
              type: number
    PostV1ModelsResponse:
      type: object
      properties:
        object:
          type: string
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              created:
                type: integer
              object:
                type: string
              owned_by:
                type: string
    PostV1RetrieveRequest:
      type: object
      properties:
        messages:
          type: array
          items:
            type: object
            properties:
              role:
                type: string
              content:
                type: string
        model:
          type: string
    PostV1RetrieveResponse:
      type: object
      properties:
        points:
          type: array
          items:
            type: object
            properties:
              source:
                type: string
              score:
                type: number
        limit:
          type: integer
        score_threshold:
          type: number
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Chat
- name: Collections
- name: Datasets
- name: Embeddings
- name: Gaianet
- name: Gaianet Ai
- name: Info
- name: Juntaoyuan
- name: Models
- name: Retrieve
- name: Wasmedge