anecdotes Custom Fields API

**Custom fields** extend platform resources (including **requirements**) with your own **dropdown**, **multi-select**, or **free-text** values. These endpoints manage the field **definitions** — create one, list them, and read a single definition to discover its **`field_metadata.values`** (the `{option_id: label}` map used when setting dropdown / multi-select values). Field definitions are shared across resource types; scope a field to requirements with **`resource_types: ["REQUIREMENT"]`**.

Operations 5

GET /controls/controls/fields Get all control custom field values #
PATCH /controls/controls/{control_id}/fields/{field_id} Update control custom field #
GET /custom-fields/v1/fields List custom field definitions #
POST /custom-fields/v1/fields Create a custom field definition #
GET /custom-fields/v1/fields/{field_id} Get a custom field definition #

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/anecdotes-custom-fields-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

anecdotes-custom-fields-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anecdotes Custom Fields API
  version: 1.0.0
  contact:
    name: Anecdotes
    url: https://help.anecdotes.ai/api/overview
    email: hello@anecdotes.ai
  description: 'Operations tagged Custom Fields across 2 of this provider''s published API definitions: anecdotes-grc-openapi-original.json, anecdotes-grc-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.anecdotes.ai
  description: Production
security:
- Bearer: []
tags:
- name: Custom Fields
  description: '**Custom fields** extend platform resources (including **requirements**) with your own **dropdown**, **multi-select**, or **free-text** values. These endpoints manage the field **definitions** — create one, list them, and read a single definition to discover its **`field_metadata.values`** (the `{option_id: label}` map used when setting dropdown / multi-select values). Field definitions are shared across resource types; scope a field to requirements with **`resource_types: ["REQUIREMENT"]`**.'
paths:
  /controls/controls/fields:
    get:
      tags:
      - Custom Fields
      summary: Get all control custom field values
      description: Returns all control custom-field values for the tenant as a JSON object.
      operationId: getControlCustomFieldValues
      responses:
        '200':
          description: Custom field values map.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          description: Unauthorized.
    servers:
    - url: https://api.anecdotes.ai
      description: Production
  /controls/controls/{control_id}/fields/{field_id}:
    patch:
      tags:
      - Custom Fields
      summary: Update control custom field
      description: Sets **`value`** on the given **`field_id`** for **`control_id`**.
      operationId: patchControlCustomField
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchControlCustomFieldValuePayload'
      responses:
        '204':
          description: Field updated.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden — auditors cannot edit custom fields.
        '422':
          description: Validation error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
    servers:
    - url: https://api.anecdotes.ai
      description: Production
  /custom-fields/v1/fields:
    get:
      tags:
      - Custom Fields
      summary: List custom field definitions
      description: 'Returns all **custom field definitions** for the authenticated tenant. Use this (or **`GET /custom-fields/v1/fields/{field_id}`**) to discover a field''s **`id`** and its **`field_metadata.values`** (the `{option_id: label}` map) before setting a value on a requirement.'
      operationId: listCustomFields
      responses:
        '200':
          description: Array of **`CustomField`** definitions.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomField'
        '401':
          description: Unauthorized — JWT is missing, invalid, or expired.
    post:
      tags:
      - Custom Fields
      summary: Create a custom field definition
      description: 'Creates a new **custom field definition**. Scope it to requirements with **`resource_types: ["REQUIREMENT"]`**. For **dropdown** / **multi-select** fields, define the selectable options under **`field_metadata.values`** as a `{option_id: label}` map.


        Requires an **admin** or **manager** role. The **201** response body is the new **`field_…`** id string.'
      operationId: createCustomField
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCustomFieldRequest'
      responses:
        '201':
          description: Created — the new custom field id.
          content:
            application/json:
              schema:
                type: string
                description: New custom field id (`field_…`).
        '401':
          description: Unauthorized — JWT is missing, invalid, or expired.
        '403':
          description: Forbidden — only an admin or manager can create a custom field.
        '422':
          description: Validation error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
    servers:
    - url: https://api.anecdotes.ai
      description: Production
  /custom-fields/v1/fields/{field_id}:
    get:
      tags:
      - Custom Fields
      summary: Get a custom field definition
      description: 'Returns a single **custom field definition**, including **`field_metadata.values`** — the `{option_id: label}` map you use to translate a desired label into the **option id** to send when setting a **dropdown** / **multi-select** value on a requirement.'
      operationId: getCustomField
      responses:
        '200':
          description: The **`CustomField`** definition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomField'
        '401':
          description: Unauthorized — JWT is missing, invalid, or expired.
        '500':
          description: Internal server error, including when the custom field does not exist.
    servers:
    - url: https://api.anecdotes.ai
      description: Production
components:
  schemas:
    CustomField:
      type: object
      description: A custom field definition.
      properties:
        id:
          type: string
          description: Field id (`field_…`).
        name:
          type: string
        type:
          $ref: '#/components/schemas/FieldType'
        description:
          type:
          - string
          - 'null'
        field_metadata:
          type: object
          description: Type-specific configuration.
          properties:
            values:
              type: object
              description: 'Selectable options as a **`{ option_id: label }`** map (dropdown / multi-select only). The **option id** is what you send as **`value`** when setting the field on a requirement.'
              additionalProperties:
                type: string
            who_can_edit:
              type: string
              description: Who may edit the value, e.g. **`all`**.
            allow_auditors_to_view:
              type: boolean
          additionalProperties: true
        resource_types:
          type: array
          items:
            $ref: '#/components/schemas/ResourceType'
          description: Resource types this field applies to.
        metadata:
          type: object
          description: Per-resource-type metadata (e.g. **`order`**, **`mandatory`**, **`framework_ids`**).
          additionalProperties: true
        registers_metadata:
          type:
          - object
          - 'null'
          description: Per-register metadata, keyed by register id (the empty-string key **`""`** is the default register). Present for all field types; may be **`null`**.
          additionalProperties: true
      additionalProperties: true
    CreateCustomFieldRequest:
      type: object
      description: Body for creating a custom field definition.
      required:
      - name
      - type
      - resource_types
      properties:
        name:
          type: string
        description:
          type:
          - string
          - 'null'
        type:
          $ref: '#/components/schemas/FieldType'
        resource_types:
          type: array
          items:
            $ref: '#/components/schemas/ResourceType'
          description: Resource types the field applies to, e.g. **`["REQUIREMENT"]`**.
        field_metadata:
          type: object
          description: 'Type-specific configuration. For **dropdown** / **multi-select**, provide **`values`** as a **`{ option_id: label }`** map.'
          additionalProperties: true
        metadata:
          type: object
          description: 'Per-resource-type metadata, e.g. **`{ "REQUIREMENT": { "framework_ids": null } }`**.'
          additionalProperties: true
    ResourceType:
      type: string
      enum:
      - CONTROL
      - POLICY
      - FRAMEWORK
      - EVIDENCE
      - REQUIREMENT
      - RISK
      - UAR
      - FINDING
      - TREATMENT_PLAN
      description: Platform resource type a custom field can apply to.
    PatchControlCustomFieldValuePayload:
      type: object
      properties:
        value: {}
    FieldType:
      type: string
      enum:
      - FreeText
      - DropDown
      - MultiSelect
      description: Custom field type. **`FreeText`** stores a string; **`DropDown`** stores a single option id; **`MultiSelect`** stores an array of option ids.
    ValidationError:
      type: object
      description: Validation error response. Each item in `detail` describes one validation failure. The `loc` array identifies the field path — each segment may be a string (field name) or integer (list index).
      properties:
        detail:
          type: array
          items:
            type: object
            properties:
              loc:
                type: array
                items:
                  anyOf:
                  - type: string
                  - type: integer
              msg:
                type: string
              type:
                type: string
              ctx:
                type: object
                description: Optional machine context (e.g. `enum_values` for enum validation errors).
                additionalProperties: true
            additionalProperties: true
      additionalProperties: true
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-anecdotes-api-key
      description: API key created in the Anecdotes platform. Used only for the Exchange API key endpoint.
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT obtained from the Exchange API key endpoint. Valid for 1 hour.
externalDocs:
  description: Anecdotes API reference
  url: https://help.anecdotes.ai/api/overview
x-refined-from:
- anecdotes-grc-openapi-original.json
- anecdotes-grc-openapi.yml
x-evidence:
  method: derived
  generated: '2026-07-31'
  sources:
  - https://help.anecdotes.ai/technical-setup/fedramp-20x-trust-center-and-api
  - postman/anecdotes-fedramp-20x.postman_collection.json
  verified_live:
  - url: https://api.anecdotes.ai/fedramp20x/v1/public/info?evidence_id=builder_2795822335733
    http_status: 200
    content_type: application/json
    fetched: '2026-07-31'