> ## Documentation Index
> Fetch the complete documentation index at: https://docs.contentignite.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search mapping values

> Searches the mapping values stored at every level across your integrations, one labelled row per integration, level, entity and field. Rows are the values stored at each level, not what a config (ad unit) finally resolves to: the most specific of config, publisher, organisation chain, ad stack and integration default wins, skipping empty and will-not-map entries. Covers the integrations your organisation can use (its own, its parent organisations' and the platform's own organisation's, less hidden ones and fallback creatives), or with `publisher_uid` the publisher's organisation's, narrowed to the integrations the publisher uses and the rows that can apply to it. Unless you're a platform admin, rows on organisations, ad stacks, publishers and configs outside your organisation and those below it are left out; integration defaults are always shown. Filters combine. Rows are ordered by level (integration default first), then integration, entity and field. `truncated` is true when more rows match than `limit`.



## OpenAPI

````yaml /openapi.json get /v1/mapping/query
openapi: 3.0.1
info:
  title: CI Public API
  description: >-
    # Introduction

    Welcome to the Content Ignite API. A central place for all Content Ignite
    functionality.


    This API enforces a separation between function and form, meaning anything
    you can do in our platforms can be replicated in your own bespoke solution.


    # Authentication

    Authentication is handled via JWTs. You can retrieve your unique JSON Web
    Token from the settings page in the platform, which needs to be passed in
    with every request.

    To do this, simple include it in an Authorization header with the "Bearer"
    key word.


    Please contact support for help getting started.


    # Error Codes

    This is a fully RESTful API, so prepare for a number of different HTTP
    status codes.


    There is also a standard "success" field returned for each request. This
    boolean value can provide a first check against a response.


    ## Errors any endpoint can return

    Every signed-in endpoint can also return these, so they aren't listed on
    each one:


    - `401` Unauthorized: no valid token was sent. It's missing, invalid,
    expired or revoked.

    - `403` Forbidden with `code` `session_invalid`: your user or organisation
    no longer exists, or you were removed from the organisation. Sign in again.

    - `403` Forbidden with `code` `insufficient_scope` ("This sign-in is
    read-only"): an OAuth (MCP) sign-in with read access tried to make a change.

    - `403` Forbidden with `code` `organisation_unavailable`: an OAuth (MCP)
    sign-in has lost access to its organisation. Switch to another organisation.

    - `503` Service Unavailable: "System is down for scheduled maintenance". Try
    again later.


    # Rate limit

    We reserve the right to block requests if we deem a client to be abusing the
    API.
  version: 1.0.0
servers:
  - url: https://api.tagdeliver.com
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Publisher
  - name: Publisher/Publisher Tag
  - name: Publisher/Config (Ad unit)
  - name: Publisher/App Placement
  - name: Publisher/Publisher Stack
  - name: Publisher/Experiment
  - name: Publisher/Publisher Meta
  - name: Publisher/Debugging
  - name: Ad Stack
  - name: Ad Stack/Integration
  - name: Integration
  - name: Integration/Authentication
  - name: Integration/Mapping
  - name: Mapping
  - name: Reporting
  - name: Reporting/Revenue Reports
  - name: Reporting/Insights Hub
  - name: Reporting/Insights Hub/Ads.txt Insights
  - name: Reporting/Insights Hub/Benchmarking
  - name: Reporting/Insights Hub/Core Web Vitals
  - name: Reporting/Insights Hub/Diagnostics
  - name: Reporting/Insights Hub/Demand Mix
  - name: Reporting/Insights Hub/Live Insights
  - name: Reporting/Insights Hub/Metrics
  - name: Reporting/Insights Hub/Revenue Analytics
  - name: Reporting/Insights Hub/Revenue Insights
  - name: Reporting/Insights Hub/SSP Insights
  - name: Reporting/Campaign Reports
  - name: Reporting/Experiment Reporting
  - name: Reporting/Health Check
  - name: Reporting/Ads.txt
  - name: Reporting/Utility
  - name: Audience
  - name: Audience/Segment
  - name: Organisation
  - name: Organisation/Organisation Meta
  - name: Organisation/Pricing
  - name: User
  - name: User/Account
  - name: Billing
  - name: Billing/Profile
  - name: Billing/Invoice
  - name: Audit Log
  - name: Search
  - name: Set-up
  - name: public
paths:
  /v1/mapping/query:
    get:
      tags:
        - Mapping
        - public
      summary: Search mapping values
      description: >-
        Searches the mapping values stored at every level across your
        integrations, one labelled row per integration, level, entity and field.
        Rows are the values stored at each level, not what a config (ad unit)
        finally resolves to: the most specific of config, publisher,
        organisation chain, ad stack and integration default wins, skipping
        empty and will-not-map entries. Covers the integrations your
        organisation can use (its own, its parent organisations' and the
        platform's own organisation's, less hidden ones and fallback creatives),
        or with `publisher_uid` the publisher's organisation's, narrowed to the
        integrations the publisher uses and the rows that can apply to it.
        Unless you're a platform admin, rows on organisations, ad stacks,
        publishers and configs outside your organisation and those below it are
        left out; integration defaults are always shown. Filters combine. Rows
        are ordered by level (integration default first), then integration,
        entity and field. `truncated` is true when more rows match than `limit`.
      operationId: listMappingValues
      parameters:
        - name: integration_id
          in: query
          description: >-
            Only this integration, by encoded integration ID (a short base-36
            string).
          required: false
          schema:
            type: string
        - name: platform
          in: query
          description: >-
            Only integrations on this platform, by platform module ID as listed
            by the mapping platforms, matched case-insensitively. An unknown
            platform gives no rows.
          required: false
          schema:
            type: string
        - name: field
          in: query
          description: Only this field key, matched exactly.
          required: false
          schema:
            type: string
        - name: value
          in: query
          description: >-
            Only rows whose value equals this, ignoring case. Also matches one
            item of a list, or of a comma-separated value.
          required: false
          schema:
            type: string
        - name: entity_type
          in: query
          description: >-
            Only rows at this level. Values: `integration` = Integration
            default, `ad_stack` = Ad stack, `organisation` = Organisation,
            `publisher` = Publisher, `config` = Config (ad unit).
          required: false
          schema:
            type: string
            enum:
              - integration
              - ad_stack
              - organisation
              - publisher
              - config
        - name: entity_id
          in: query
          description: >-
            Only rows for this entity: an organisation ID, ad stack ID,
            publisher ID (uid) or config (ad unit) ID, to match `entity_type`,
            which is then required. Ignored with `entity_type` `integration`.
          required: false
          schema:
            type: integer
        - name: publisher_uid
          in: query
          description: >-
            Only rows that can apply to this publisher: its configs (ad units),
            itself, its organisation and parent organisations, the ad stacks its
            configs use, and the integration defaults, for the integrations it
            uses.
          required: false
          schema:
            type: integer
        - name: limit
          in: query
          description: >-
            Most rows to return. Values outside 1 to 2000 are clamped, and
            anything that isn't a number counts as 1.
          required: false
          schema:
            type: integer
            default: 200
            minimum: 1
            maximum: 2000
      responses:
        '200':
          description: 'OK: The matching rows.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: object
                    properties:
                      rows:
                        type: array
                        description: The matching rows.
                        items:
                          type: object
                          properties:
                            integration_id:
                              type: string
                              description: Encoded integration ID.
                            platform:
                              type: string
                              description: Platform module ID.
                            integration_name:
                              type: string
                              description: The integration's account name.
                            level:
                              type: string
                              enum:
                                - integration
                                - ad_stack
                                - organisation
                                - publisher
                                - config
                              description: >-
                                The level the value is stored at. Values:
                                `integration` = Integration default, `ad_stack`
                                = Ad stack, `organisation` = Organisation,
                                `publisher` = Publisher, `config` = Config (ad
                                unit).
                            entity_id:
                              type: integer
                              description: >-
                                ID of the organisation, ad stack, publisher
                                (uid) or config (ad unit). Null for an
                                integration default.
                              nullable: true
                            entity_label:
                              type: string
                              description: >-
                                Entity name: the organisation or ad stack name,
                                the publisher domain, or the publisher domain
                                and ad unit label; the integration's account
                                name for an integration default. Null when the
                                entity is gone.
                              nullable: true
                            publisher_uid:
                              type: integer
                              description: >-
                                Publisher ID (uid), for publisher and config
                                rows.
                              nullable: true
                            field:
                              type: string
                              description: Field key.
                            field_label:
                              type: string
                              description: >-
                                Field label, or the key when the integration's
                                fields don't include it.
                            value:
                              description: >-
                                The stored value, in its stored type. Text,
                                number, yes/no, list or object, as the field's
                                schema allows.
                            wnm:
                              type: boolean
                              description: True when the field is marked will not map here.
                          required:
                            - integration_id
                            - platform
                            - integration_name
                            - level
                            - entity_id
                            - entity_label
                            - publisher_uid
                            - field
                            - field_label
                            - value
                            - wnm
                      count:
                        type: integer
                        description: Number of rows returned.
                      truncated:
                        type: boolean
                        description: True when more rows match than `limit`.
                    required:
                      - rows
                      - count
                      - truncated
                  success:
                    type: boolean
                    description: Always true.
                required:
                  - results
                  - success
              example:
                results:
                  rows:
                    - integration_id: gjdi10
                      platform: Criteo
                      integration_name: DEMO Criteo
                      level: publisher
                      entity_id: 18620
                      entity_label: example.com
                      publisher_uid: 18620
                      field: networkId
                      field_label: Network ID
                      value: '10460'
                      wnm: false
                    - integration_id: gjdi10
                      platform: Criteo
                      integration_name: DEMO Criteo
                      level: config
                      entity_id: 51234
                      entity_label: example.com · In-article
                      publisher_uid: 18620
                      field: networkId
                      field_label: Network ID
                      value: '10461'
                      wnm: false
                  count: 2
                  truncated: false
                success: true
          headers: {}
        '400':
          description: >-
            Bad Request: `entity_type` isn't a mapping level, or `entity_id` was
            sent without `entity_type`.
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                success: false
                message: entity_id needs an entity_type
          headers: {}
        '401':
          description: >-
            Unauthorized: No valid token was sent. It's missing, invalid,
            expired or revoked.
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                success: false
                message: Token not found.
          headers: {}
        '403':
          description: 'Forbidden: You don''t have permission to do this.'
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                success: false
                message: User forbidden
          headers: {}
        '404':
          description: >-
            Not Found: The integration or publisher doesn't exist or you can't
            access it.
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                success: false
                message: Integration gjdi10 Not Found
          headers: {}
        '500':
          description: >-
            Internal Server Error: An unexpected error. The message includes a
            reference to quote to support.
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                status: 500
                message: >-
                  An error occurred [4f2k], please try again shortly or contact
                  your account manager for further assistance.
          headers: {}
      deprecated: false
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        A personal API token from the platform's settings page, or an OAuth
        access token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.