{
  "opencollection": "1.0.0",
  "info": {
    "name": "LangSmith access_policies fleet threads API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "fleet threads",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create thread",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/v1/fleet/threads",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Creates a thread record for use with subsequent runs. Request and response bodies are JSON objects describing the thread."
        },
        {
          "info": {
            "name": "Search threads",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/v1/fleet/threads/search",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Searches threads. Request and response bodies are proxied unchanged to the upstream agent runtime."
        },
        {
          "info": {
            "name": "Get thread",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/v1/fleet/threads/:threadID",
            "params": [
              {
                "name": "threadID",
                "value": "",
                "type": "path",
                "description": "Thread id"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Returns thread metadata and status for the given thread id."
        },
        {
          "info": {
            "name": "Resolve an interrupted thread",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/v1/fleet/threads/:threadID/resolve-interrupt",
            "params": [
              {
                "name": "threadID",
                "value": "",
                "type": "path",
                "description": "Thread id"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Completes a human-interrupt pause on the thread without sending new input, allowing execution to continue or finish. On success the response has no body."
        },
        {
          "info": {
            "name": "Create thread run",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/v1/fleet/threads/:threadID/runs",
            "params": [
              {
                "name": "threadID",
                "value": "",
                "type": "path",
                "description": "Thread id"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Starts a run on the thread. The request body must include `assistant_id` (the assistant to execute). Include run inputs and options in the body as supported by this API."
        }
      ]
    }
  ],
  "bundled": true
}