UserTold.ai Settings API

The Settings API from UserTold.ai, for settings.

GitHub OpenAPI

Operations 8

GET /api/orgs/{orgHandle}/projects/{projectHandle}/settings Settings Get #
PATCH /api/orgs/{orgHandle}/projects/{projectHandle}/settings Settings Patch #
POST /api/orgs/{orgHandle}/projects/{projectHandle}/settings/validate Settings Validate #
GET /api/orgs/{orgHandle}/projects/{projectHandle}/settings/key-health Settings Key Health #
GET /api/orgs/{orgHandle}/projects/{projectHandle}/settings/knowledge-action Knowledge Action Get #
PATCH /api/orgs/{orgHandle}/projects/{projectHandle}/settings/knowledge-action Knowledge Action Patch #
DELETE /api/orgs/{orgHandle}/projects/{projectHandle}/settings/knowledge-action Knowledge Action Delete #
POST /api/orgs/{orgHandle}/projects/{projectHandle}/settings/knowledge-action/test Knowledge Action Test #

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/usertold-ai:usertold-ai-settings-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

usertold-ai-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UserTold.ai Settings API
  version: 1.0.0
  description: The /api/... routes are stable major version 1 without a version-selection header. Backward-compatible additions remain in v1; breaking changes require /api/v2. Before removal, migration guidance and Deprecation plus Link rel=deprecation are published; scheduled removal includes Sunset at least 90 days ahead. No REST route is currently deprecated.
tags:
- name: Settings
paths:
  /api/orgs/{orgHandle}/projects/{projectHandle}/settings:
    get:
      operationId: settingsGet
      summary: Settings Get
      description: Execute the UserTold settings get operation.
      tags:
      - Settings
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
          description: projectHandle path parameter
        required: true
        description: projectHandle path parameter
        name: projectHandle
        in: path
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiProjectSettingsResponse'
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
    patch:
      operationId: settingsPatch
      summary: Settings Patch
      description: Execute the UserTold settings patch operation.
      tags:
      - Settings
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
          description: projectHandle path parameter
        required: true
        description: projectHandle path parameter
        name: projectHandle
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiProjectSettingsResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
  /api/orgs/{orgHandle}/projects/{projectHandle}/settings/validate:
    post:
      operationId: settingsValidate
      summary: Settings Validate
      description: Execute the UserTold settings validate operation.
      tags:
      - Settings
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
          description: projectHandle path parameter
        required: true
        description: projectHandle path parameter
        name: projectHandle
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                key:
                  type: string
                value:
                  type: string
              required:
              - key
              - value
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  valid:
                    type: boolean
                  error:
                    type: string
                required:
                - valid
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
  /api/orgs/{orgHandle}/projects/{projectHandle}/settings/key-health:
    get:
      operationId: settingsKeyHealth
      summary: Settings Key Health
      description: Execute the UserTold settings key health operation.
      tags:
      - Settings
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
          description: projectHandle path parameter
        required: true
        description: projectHandle path parameter
        name: projectHandle
        in: path
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  key_health:
                    type: object
                    properties:
                      openai_api_key:
                        type:
                        - object
                        - 'null'
                        properties:
                          status:
                            type: string
                            enum:
                            - ok
                            - warning
                            - error
                            - unknown
                          code:
                            type: string
                          message:
                            type: string
                          retryable:
                            type: boolean
                          action:
                            type: string
                          checked_at:
                            type: string
                          remaining_balance_usd:
                            type: number
                        required:
                        - status
                        - code
                        - message
                        - retryable
                        - checked_at
                    required:
                    - openai_api_key
                required:
                - key_health
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
  /api/orgs/{orgHandle}/projects/{projectHandle}/settings/knowledge-action:
    get:
      operationId: knowledgeActionGet
      summary: Knowledge Action Get
      description: Execute the UserTold knowledge action get operation.
      tags:
      - Settings
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
          description: projectHandle path parameter
        required: true
        description: projectHandle path parameter
        name: projectHandle
        in: path
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  action:
                    type:
                    - object
                    - 'null'
                    properties:
                      name:
                        type: string
                      when_to_use:
                        type: string
                      method:
                        type: string
                        enum:
                        - GET
                        - POST
                      url:
                        type: string
                      headers:
                        type: object
                        additionalProperties:
                          type: string
                      body:
                        type:
                        - object
                        - 'null'
                        additionalProperties: {}
                      response_path:
                        type:
                        - string
                        - 'null'
                    required:
                    - name
                    - when_to_use
                    - method
                    - url
                    - headers
                required:
                - action
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
    patch:
      operationId: knowledgeActionPatch
      summary: Knowledge Action Patch
      description: Execute the UserTold knowledge action patch operation.
      tags:
      - Settings
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
          description: projectHandle path parameter
        required: true
        description: projectHandle path parameter
        name: projectHandle
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 120
                when_to_use:
                  type: string
                  minLength: 1
                  maxLength: 1000
                method:
                  type: string
                  enum:
                  - GET
                  - POST
                url:
                  type: string
                  minLength: 1
                  maxLength: 2000
                headers:
                  type: object
                  additionalProperties:
                    type:
                    - string
                    - 'null'
                  default: {}
                body:
                  type:
                  - object
                  - 'null'
                  additionalProperties: {}
                response_path:
                  type:
                  - string
                  - 'null'
                  maxLength: 500
              required:
              - name
              - when_to_use
              - method
              - url
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  action:
                    type:
                    - object
                    - 'null'
                    properties:
                      name:
                        type: string
                      when_to_use:
                        type: string
                      method:
                        type: string
                        enum:
                        - GET
                        - POST
                      url:
                        type: string
                      headers:
                        type: object
                        additionalProperties:
                          type: string
                      body:
                        type:
                        - object
                        - 'null'
                        additionalProperties: {}
                      response_path:
                        type:
                        - string
                        - 'null'
                    required:
                    - name
                    - when_to_use
                    - method
                    - url
                    - headers
                required:
                - action
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
    delete:
      operationId: knowledgeActionDelete
      summary: Knowledge Action Delete
      description: Execute the UserTold knowledge action delete operation.
      tags:
      - Settings
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
          description: projectHandle path parameter
        required: true
        description: projectHandle path parameter
        name: projectHandle
        in: path
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  action:
                    type:
                    - object
                    - 'null'
                    properties:
                      name:
                        type: string
                      when_to_use:
                        type: string
                      method:
                        type: string
                        enum:
                        - GET
                        - POST
                      url:
                        type: string
                      headers:
                        type: object
                        additionalProperties:
                          type: string
                      body:
                        type:
                        - object
                        - 'null'
                        additionalProperties: {}
                      response_path:
                        type:
                        - string
                        - 'null'
                    required:
                    - name
                    - when_to_use
                    - method
                    - url
                    - headers
                required:
                - action
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
  /api/orgs/{orgHandle}/projects/{projectHandle}/settings/knowledge-action/test:
    post:
      operationId: knowledgeActionTest
      summary: Knowledge Action Test
      description: Execute the UserTold knowledge action test operation.
      tags:
      - Settings
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
          description: projectHandle path parameter
        required: true
        description: projectHandle path parameter
        name: projectHandle
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  minLength: 1
                  maxLength: 500
                page_url:
                  type: string
                  maxLength: 2000
                site_hostname:
                  type: string
                  maxLength: 253
                action:
                  type: object
                  properties:
                    name:
                      type: string
                      minLength: 1
                      maxLength: 120
                    when_to_use:
                      type: string
                      minLength: 1
                      maxLength: 1000
                    method:
                      type: string
                      enum:
                      - GET
                      - POST
                    url:
                      type: string
                      minLength: 1
                      maxLength: 2000
                    headers:
                      type: object
                      additionalProperties:
                        type:
                        - string
                        - 'null'
                      default: {}
                    body:
                      type:
                      - object
                      - 'null'
                      additionalProperties: {}
                    response_path:
                      type:
                      - string
                      - 'null'
                      maxLength: 500
                  required:
                  - name
                  - when_to_use
                  - method
                  - url
              required:
              - query
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - ok
                    - not_found
                    - auth_required
                    - unavailable
                  message:
                    type: string
                  request:
                    type: object
                    properties:
                      method:
                        type: string
                        enum:
                        - GET
                        - POST
                      url:
                        type: string
                      headers:
                        type: object
                        additionalProperties:
                          type: string
                      body: {}
                    required:
                    - method
                    - url
                    - headers
                  http_status:
                    type: integer
                  raw_response:
                    type: string
                  extracted_response: {}
                required:
                - status
                - request
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
components:
  schemas:
    ApiProjectSettingsResponse:
      type: object
      properties:
        settings:
          type: object
          additionalProperties:
            type: string
        warnings:
          type: array
          items:
            type: object
            properties:
              section:
                type: string
                enum:
                - api_keys
              code:
                type: string
              message:
                type: string
              retryable:
                type: boolean
              action:
                type: string
            required:
            - section
            - code
            - message
            - retryable
      required:
      - settings
    ApiErrorResponse:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        retryable:
          type: boolean
        action:
          type: string
        requestId:
          type: string
      required:
      - error
externalDocs:
  description: REST versioning, deprecation, and rate-limit policy
  url: https://usertold.ai/docs/api#versioning-and-deprecation
x-api-lifecycle:
  majorVersion: 1
  versioning: implicit
  currentPathPrefix: /api
  nextBreakingPathPrefix: /api/v2
  versionSelectionHeader: null
  deprecated: false
  minimumSunsetNoticeDays: 90
  deprecationHeaders:
  - Deprecation
  - Link
  - Sunset
  policyUrl: https://usertold.ai/docs/api#versioning-and-deprecation