usewire-io API

usewire-io API as documented publicly: 31 operations. Contract generated from the documentation by API Evangelist (2026-10-29); not the provider's own document.

Operations 31

GET /api/v1/agent/provision/containers GET /api/v1/agent/provision/containers #
POST /api/v1/agent/provision/containers POST /api/v1/agent/provision/containers #
DELETE /api/v1/agent/provision/containers/GvryOTHdfQKkjCTW DELETE /api/v1/agent/provision/containers/GvryOTHdfQKkjCTW #
PATCH /api/v1/agent/provision/containers/GvryOTHdfQKkjCTW PATCH /api/v1/agent/provision/containers/GvryOTHdfQKkjCTW #
GET /api/v1/agent/provision/whoami GET /api/v1/agent/provision/whoami #
PATCH /api/v1/agents/someday Registers or updates the webhook URL and events for an agent. #
POST /api/v1/agents/someday/publisher-keys POST /api/v1/agents/someday/publisher-keys #
DELETE /api/v1/agents/{agentid}/publisher-keys/{keyid} Revokes a publisher key registered for an agent. #
GET /api/v1/sdk/poll Returns installId and agentUserId as install_id and agent_user_id from the device flow. #
GET /api/v1/sdk/status Returns connection details including installId and agentUserId under the connection field. #
DELETE /container/{id}/files/{fileid} Delete a file and all entries derived from it. #
GET /container/{containerId}/claim Generate a claim link for an ephemeral container. #
GET /container/{containerId}/tools/delete Remove an entry by its ID. #
GET /container/{containerId}/tools/explore Browse the container: what shape it has, and the entries in it. #
GET /container/{containerId}/tools/navigate Traverse from an entry: relationships (filterable by type), siblings, source. #
GET /container/{containerId}/tools/write Save an entry to the container. #
POST /container/{containerid}/claim POST /container/{containerId}/claim #
POST /container/{containerid}/tools/delete POST /container/{containerId}/tools/delete #
POST /container/{containerid}/tools/explore POST /container/{containerId}/tools/explore #
POST /container/{containerid}/tools/navigate POST /container/{containerId}/tools/navigate #
POST /container/{containerid}/tools/query POST /container/{containerId}/tools/query #
POST /container/{containerid}/tools/search POST /container/{containerId}/tools/search #
POST /container/{containerid}/tools/write POST /container/{containerId}/tools/write #
DELETE /installs/{installid} Uninstalls your agent from that install's container, then returns the install as it now reads. #
GET /installs/{installid} Returns one install. #
POST /installs/{installid}/export Asks Wire to export the install's container for the person who connected it. #
GET /installs/{installid}/exports/{exportid} Returns the status of that export. #
GET /tools GET /tools #
POST /tools/{name} Calls one tool, with the tool's input as the JSON body. #
GET /users/{agentuserid}/installs Returns every install that user has with your agent, newest first, as { "installs": [ … ] }. #

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/usewire-io:usewire-io-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

usewire-io-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: usewire-io API
  version: '2026-10-29'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-29: 31 operation(s) read from 8 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; usewire-io has published no machine-readable contract that the
    pipeline could find. Engine: anthropic.'
  x-evidence-tiers:
    code-example: 19
    documentation: 12
    pages-with-code: 8
    pages-read: 8
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-29'
  x-generator: generate-contract-from-docs.py
  x-engine: anthropic
  x-sources:
  - https://docs.usewire.io/reference/tools
  - https://docs.usewire.io/reference/tools.md
  - https://docs.usewire.io/build/sdk/sign-in-with-wire
  - https://docs.usewire.io/build/sdk/provision-mode
  - https://docs.usewire.io/build/sdk/installs-webhooks
  - https://docs.usewire.io/build/sdk/sign-in-with-wire.md
  - https://docs.usewire.io/build/sdk/provision-mode.md
  - https://docs.usewire.io/build/sdk/installs-webhooks.md
servers:
- url: https://YOUR_ORG_SLUG.api.usewire.io
paths:
  /api/v1/agent/provision/containers:
    get:
      operationId: get_api_v1_agent_provision_containers
      tags:
      - Api
      summary: GET /api/v1/agent/provision/containers
      x-source: https://docs.usewire.io/build/sdk/provision-mode
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl https://api.usewire.io/api/v1/agent/provision/containers \ -H " Authorization: Bearer $WIRE_PROVISION_KEY " '
    post:
      operationId: post_api_v1_agent_provision_containers
      tags:
      - Api
      summary: POST /api/v1/agent/provision/containers
      x-source: https://docs.usewire.io/build/sdk/provision-mode
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://api.usewire.io/api/v1/agent/provision/containers \\ -H \" Authorization: Bearer $WIRE_PROVISION_KEY \"\
          \ \\ -H \" Content-Type: application/json \" \\ -d ' {\"name\": \"customer-1234\"} ' \n name is optional; Wire generates one if you\
          \ skip it. description is accepted too. \n Use the container Section titled “Use the container” \n A provisioned container is a normal\
          \ container. Your agent conne"
  /api/v1/agent/provision/containers/GvryOTHdfQKkjCTW:
    delete:
      operationId: delete_api_v1_agent_provision_containers_GvryOTHdfQKkjCTW
      tags:
      - Api
      summary: DELETE /api/v1/agent/provision/containers/GvryOTHdfQKkjCTW
      x-source: https://docs.usewire.io/build/sdk/provision-mode
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X DELETE https://api.usewire.io/api/v1/agent/provision/containers/GvryOTHdfQKkjCTW \ -H " Authorization: Bearer $WIRE_PROVISION_KEY
          " '
    patch:
      operationId: patch_api_v1_agent_provision_containers_GvryOTHdfQKkjCTW
      tags:
      - Api
      summary: PATCH /api/v1/agent/provision/containers/GvryOTHdfQKkjCTW
      x-source: https://docs.usewire.io/build/sdk/provision-mode
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X PATCH https://api.usewire.io/api/v1/agent/provision/containers/GvryOTHdfQKkjCTW \ -H " Authorization: Bearer $WIRE_PROVISION_KEY
          " \ -H " Content-Type: application/json " \ -d '' {"name": "customer-1234"} '' '
  /api/v1/agent/provision/whoami:
    get:
      operationId: get_api_v1_agent_provision_whoami
      tags:
      - Api
      summary: GET /api/v1/agent/provision/whoami
      x-source: https://docs.usewire.io/build/sdk/provision-mode
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.usewire.io/api/v1/agent/provision/whoami \\ -H \" Authorization: Bearer $WIRE_PROVISION_KEY \" \n Deletes are\
          \ soft. The container moves to your org’s trash with a 14 day recovery window, same as deleting from the dashboard. \n What your team\
          \ sees Section titled “What your team sees” \n Provisioned containers appear in the dashboard under a Provisioned tab in the container\
          \ list, attribut"
  /api/v1/agents/someday:
    patch:
      operationId: patch_api_v1_agents_someday
      tags:
      - Api
      summary: Registers or updates the webhook URL and events for an agent.
      x-source: https://docs.usewire.io/build/sdk/installs-webhooks
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchApiV1AgentsSomedayRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/agents/someday/publisher-keys:
    post:
      operationId: post_api_v1_agents_someday_publisher_keys
      tags:
      - Api
      summary: POST /api/v1/agents/someday/publisher-keys
      x-source: https://docs.usewire.io/build/sdk/installs-webhooks
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://app.usewire.io/api/v1/agents/someday/publisher-keys \\ -H ' content-type: application/json ' --cookie \"\
          \ $WIRE_SESSION \" \\ -d ' { \"publicKey\": \"<Ed25519 public key, raw 32 bytes, base64url>\", \"label\": \"production server\", \"\
          purpose\": \"runtime\" } ' \", \"label\": \"production server\", \"purpose\": \"runtime\" }'\"> \n The response names the key’s id (\
          \ pk_… ). Keep the private half as a serv"
  /api/v1/agents/{agentid}/publisher-keys/{keyid}:
    delete:
      operationId: delete_api_v1_agents_agentid_publisher_keys_keyid
      tags:
      - Api
      summary: Revokes a publisher key registered for an agent.
      x-source: https://docs.usewire.io/build/sdk/installs-webhooks
      parameters:
      - name: agentid
        in: path
        required: true
        schema:
          type: string
      - name: keyid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/sdk/poll:
    get:
      operationId: get_api_v1_sdk_poll
      tags:
      - Api
      summary: Returns installId and agentUserId as install_id and agent_user_id from the device flow.
      x-source: https://docs.usewire.io/build/sdk/installs-webhooks
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1SdkPollResponse'
      x-evidence:
        kind: documentation
  /api/v1/sdk/status:
    get:
      operationId: get_api_v1_sdk_status
      tags:
      - Api
      summary: Returns connection details including installId and agentUserId under the connection field.
      x-source: https://docs.usewire.io/build/sdk/installs-webhooks
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1SdkStatusResponse'
      x-evidence:
        kind: documentation
  /container/{id}/files/{fileid}:
    delete:
      operationId: delete_container_id_files_fileid
      tags:
      - Container
      summary: Delete a file and all entries derived from it.
      x-source: https://docs.usewire.io/reference/tools
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: fileid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteContainerIdFilesFileidResponse'
      x-evidence:
        kind: documentation
  /container/{containerId}/claim:
    get:
      operationId: get_container_containerId_claim
      tags:
      - Container
      summary: Generate a claim link for an ephemeral container.
      x-source: https://docs.usewire.io/reference/tools
      parameters:
      - name: containerId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetContainerContaineridClaimResponse'
      x-evidence:
        kind: documentation
  /container/{containerId}/tools/delete:
    get:
      operationId: get_container_containerId_tools_delete
      tags:
      - Container
      summary: Remove an entry by its ID.
      x-source: https://docs.usewire.io/reference/tools
      parameters:
      - name: containerId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /container/{containerId}/tools/explore:
    get:
      operationId: get_container_containerId_tools_explore
      tags:
      - Container
      summary: 'Browse the container: what shape it has, and the entries in it.'
      x-source: https://docs.usewire.io/reference/tools
      parameters:
      - name: containerId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /container/{containerId}/tools/navigate:
    get:
      operationId: get_container_containerId_tools_navigate
      tags:
      - Container
      summary: 'Traverse from an entry: relationships (filterable by type), siblings, source.'
      x-source: https://docs.usewire.io/reference/tools
      parameters:
      - name: containerId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /container/{containerId}/tools/search:
    get:
      operationId: get_container_containerId_tools_search
      tags:
      - Container
      summary: Fuzzy hybrid retrieval over raw content in the container.
      x-source: https://docs.usewire.io/reference/tools
      parameters:
      - name: containerId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /container/{containerId}/tools/write:
    get:
      operationId: get_container_containerId_tools_write
      tags:
      - Container
      summary: Save an entry to the container.
      x-source: https://docs.usewire.io/reference/tools
      parameters:
      - name: containerId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /container/{containerid}/claim:
    post:
      operationId: post_container_containerid_claim
      tags:
      - Container
      summary: POST /container/{containerId}/claim
      x-source: https://docs.usewire.io/reference/tools.md
      parameters:
      - name: containerid
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostContainerContaineridClaimResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST  -H "x-api-key: YOUR_API_KEY"  https://YOUR_ORG_SLUG.api.usewire.io/container/YOUR_CONTAINER_ID/claim

          ```'
  /container/{containerid}/tools/delete:
    post:
      operationId: post_container_containerid_tools_delete
      tags:
      - Container
      summary: POST /container/{containerId}/tools/delete
      x-source: https://docs.usewire.io/reference/tools.md
      parameters:
      - name: containerid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostContainerContaineridToolsDeleteRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostContainerContaineridToolsDeleteResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST  -H "x-api-key: YOUR_API_KEY"  -H "Content-Type: application/json"  -d ''{"entryId": "entry_abc123"}''  https://YOUR_ORG_SLUG.api.usewire.io/container/YOUR_CONTAINER_ID/tools/delete

          ```'
  /container/{containerid}/tools/explore:
    post:
      operationId: post_container_containerid_tools_explore
      tags:
      - Container
      summary: POST /container/{containerId}/tools/explore
      x-source: https://docs.usewire.io/reference/tools
      parameters:
      - name: containerid
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostContainerContaineridToolsExploreResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST \\ -H \" x-api-key: YOUR_API_KEY \" \\ -H \" Content-Type: application/json \" \\ -d ' {\"mode\": \"list\", \"\
          limit\": 25} ' \\ https://YOUR_ORG_SLUG.api.usewire.io/container/YOUR_CONTAINER_ID/tools/explore \n MCP (tools/call) { \"jsonrpc\" :\
          \ \" 2.0 \" , \"id\" : 1 , \"method\" : \" tools/call \" , \"params\" : { \"name\" : \" wire_explore \" , \"arguments\" : { \"mode\"\
          \ : \" list \" , \"limit\" : 25 } } } \n Return shape S"
  /container/{containerid}/tools/navigate:
    post:
      operationId: post_container_containerid_tools_navigate
      tags:
      - Container
      summary: POST /container/{containerId}/tools/navigate
      x-source: https://docs.usewire.io/reference/tools.md
      parameters:
      - name: containerid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostContainerContaineridToolsNavigateRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostContainerContaineridToolsNavigateResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST  -H "x-api-key: YOUR_API_KEY"  -H "Content-Type: application/json"  -d ''{"entryId": "entry_abc123", "mode": "siblings",
          "range": 3}''  https://YOUR_ORG_SLUG.api.usewire.io/container/YOUR_CONTAINER_ID/tools/navigate

          ```'
  /container/{containerid}/tools/query:
    post:
      operationId: post_container_containerid_tools_query
      tags:
      - Container
      summary: POST /container/{containerId}/tools/query
      x-source: https://docs.usewire.io/reference/tools.md
      parameters:
      - name: containerid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostContainerContaineridToolsQueryRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostContainerContaineridToolsQueryResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST  -H "x-api-key: YOUR_API_KEY"  -H "Content-Type: application/json"  -d ''{"sql": "SELECT vendor, sum(amount) AS
          total FROM expenses GROUP BY vendor ORDER BY total DESC"}''  https://YOUR_ORG_SLUG.api.usewire.io/container/YOUR_CONTAINER_ID/tools/query

          ```'
  /container/{containerid}/tools/search:
    post:
      operationId: post_container_containerid_tools_search
      tags:
      - Container
      summary: POST /container/{containerId}/tools/search
      x-source: https://docs.usewire.io/reference/tools.md
      parameters:
      - name: containerid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostContainerContaineridToolsSearchRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST  -H "x-api-key: YOUR_API_KEY"  -H "Content-Type: application/json"  -d ''{"query": "pricing concerns"}''  https://YOUR_ORG_SLUG.api.usewire.io/container/YOUR_CONTAINER_ID/tools/search

          ```'
  /container/{containerid}/tools/write:
    post:
      operationId: post_container_containerid_tools_write
      tags:
      - Container
      summary: POST /container/{containerId}/tools/write
      x-source: https://docs.usewire.io/reference/tools.md
      parameters:
      - name: containerid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostContainerContaineridToolsWriteRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostContainerContaineridToolsWriteResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST  -H "x-api-key: YOUR_API_KEY"  -H "Content-Type: application/json"  -d ''{"content": "Acme Corp wants to upgrade
          to Enterprise; needs SSO.", "tags": ["meeting", "acme-corp"]}''  https://YOUR_ORG_SLUG.api.usewire.io/container/YOUR_CONTAINER_ID/tools/write

          ```'
  /installs/{installid}:
    delete:
      operationId: delete_installs_installid
      tags:
      - Installs
      summary: Uninstalls your agent from that install's container, then returns the install as it now reads.
      x-source: https://docs.usewire.io/build/sdk/installs-webhooks
      parameters:
      - name: installid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteInstallsInstallidResponse'
      x-evidence:
        kind: documentation
    get:
      operationId: get_installs_installid
      tags:
      - Installs
      summary: Returns one install.
      x-source: https://docs.usewire.io/build/sdk/installs-webhooks
      parameters:
      - name: installid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetInstallsInstallidResponse'
      x-evidence:
        kind: documentation
  /installs/{installid}/export:
    post:
      operationId: post_installs_installid_export
      tags:
      - Installs
      summary: Asks Wire to export the install's container for the person who connected it.
      x-source: https://docs.usewire.io/build/sdk/installs-webhooks
      parameters:
      - name: installid
        in: path
        required: true
        schema:
          type: string
      responses:
        '202':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostInstallsInstallidExportResponse'
      x-evidence:
        kind: documentation
  /installs/{installid}/exports/{exportid}:
    get:
      operationId: get_installs_installid_exports_exportid
      tags:
      - Installs
      summary: Returns the status of that export.
      x-source: https://docs.usewire.io/build/sdk/installs-webhooks
      parameters:
      - name: installid
        in: path
        required: true
        schema:
          type: string
      - name: exportid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetInstallsInstallidExportsExportidResponse'
      x-evidence:
        kind: documentation
  /tools:
    get:
      operationId: get_tools
      tags:
      - Tools
      summary: GET /tools
      x-source: https://docs.usewire.io/build/sdk/sign-in-with-wire
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl https://someday.agent.usewire.io/tools \ -H " Authorization: Bearer $ACCESS_TOKEN " '
  /tools/{name}:
    post:
      operationId: post_tools_name
      tags:
      - Tools
      summary: Calls one tool, with the tool's input as the JSON body.
      x-source: https://docs.usewire.io/build/sdk/sign-in-with-wire
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer token with the access token
      - name: content-type
        in: header
        required: true
        schema:
          type: string
        description: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostToolsNameRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostToolsNameResponse'
      x-evidence:
        kind: documentation
  /users/{agentuserid}/installs:
    get:
      operationId: get_users_agentuserid_installs
      tags:
      - Users
      summary: 'Returns every install that user has with your agent, newest first, as { "installs": [ … ] }.'
      x-source: https://docs.usewire.io/build/sdk/installs-webhooks
      parameters:
      - name: agentuserid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetUsersAgentuseridInstallsResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PatchApiV1AgentsSomedayRequest:
      type: object
      properties:
        webhooks:
          type: object
          description: Object with url and events array, or null to stop webhooks
    GetApiV1SdkPollResponse:
      type: object
      properties:
        install_id:
          type: string
          description: The install identifier
        agent_user_id:
          type: string
          description: The agent user identifier
    GetApiV1SdkStatusResponse:
      type: object
      properties:
        connection:
          type: object
          description: Contains install_id and agent_user_id
    DeleteContainerIdFilesFileidResponse:
      type: object
      properties:
        message:
          type: string
        fileId:
          type: string
        entriesDeleted:
          type: number
    GetContainerContaineridClaimResponse:
      type: object
      properties:
        claim_url:
          type: string
        expires_in:
          type: number
    PostContainerContaineridClaimResponse:
      type: object
      properties:
        claim_url:
          type: string
        expires_in:
          type: integer
    PostContainerContaineridToolsDeleteRequest:
      type: object
      properties:
        entryId:
          type: string
    PostContainerContaineridToolsDeleteResponse:
      type: object
      properties:
        entryId:
          type: string
        deleted:
          type: boolean
        cascadedChunks:
          type: integer
    PostContainerContaineridToolsExploreResponse:
      type: object
      properties:
        entries:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              content:
                type: string
              source:
                type: string
              tags:
                type: array
                items:
                  type: string
              properties:
                type: object
              createdAt:
                type: integer
        count:
          type: integer
        entryCount:
          type: integer
        entities:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              entityType:
                type: string
              mentions:
                type: integer
        schemas:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              object:
                type: string
              source:
                type: string
              mode:
                type: string
              fields:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                    type:
                      type: string
        composites:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              compositeType:
                type: string
              fileName:
                type: string
              chunkCount:
                type: integer
              source:
                type: string
        entityTypes:
          type: array
          items:
            type: string
        hasMore:
          type: object
          properties:
            entities:
              type: boolean
    PostContainerContaineridToolsNavigateRequest:
      type: object
      properties:
        entryId:
          type: string
        mode:
          type: string
        range:
          type: integer
    PostContainerContaineridToolsNavigateResponse:
      type: object
      properties:
        fromId:
          type: string
        toId:
          type: string
        type:
          type: string
        properties:
          type: object
    PostContainerContaineridToolsQueryRequest:
      type: object
      properties:
        sql:
          type: string
    PostContainerContaineridToolsQueryResponse:
      type: object
      properties:
        columns:
          type: array
          items:
            type: string
        rows:
          type: array
          items:
            type: array
            items:
              type: string
        rowCount:
          type: integer
        truncated:
          type: boolean
    PostContainerContaineridToolsSearchRequest:
      type: object
      properties:
        query:
          type: string
    PostContainerContaineridToolsWriteRequest:
      type: object
      properties:
        content:
          type: string
        tags:
          type: array
          items:
            type: string
    PostContainerContaineridToolsWriteResponse:
      type: object
      properties:
        entryId:
          type: string
        status:
          type: string
        chunks:
          type: integer
        links:
          type: integer
    DeleteInstallsInstallidResponse:
      type: object
      properties:
        installId:
          type: string
        connection:
          type: object
          description: status is now revoked with reason uninstalled
    GetInstallsInstallidResponse:
      type: object
      properties:
        installId:
          type: string
        agentUserId:
          type: string
        container:
          type: object
        claimed:
          type: boolean
        connection:
          type: object
        installedVersion:
          type: string
        latestVersion:
          type: string
        updateAvailable:
          type: boolean
        manageUrl:
          type: string
    PostInstallsInstallidExportResponse:
      type: object
      properties:
        exportId:
          type: string
        status:
          type: string
          description: queued, running, completed, failed, or expired
        createdAt:
          type: string
        reused:
          type: boolean
    GetInstallsInstallidExportsExportidResponse:
      type: object
      properties:
        exportId:
          type: string
        status:
          type: string
        createdAt:
          type: string
        completedAt:
          type: string
        expiresAt:
          type: string
    PostToolsNameRequest:
      type: object
      properties:
        tool input:
          type: object
          description: The tool's input as a JSON object matching its input schema
      required:
      - tool input
    PostToolsNameResponse:
      type: object
      properties:
        data:
          type: object
          description: The tool's output data
    GetUsersAgentuseridInstallsResponse:
      type: object
      properties:
        installs:
          type: array
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Container
- name: Installs
- name: Tools
- name: Users