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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Check creator audience authenticity

> Estimates suspicious accounts among sampled Instagram engagers or YouTube commenters. Each estimate identifies its population and denominator. A valid report with zero suspicious share counts as a successful delivery.

## Submit and poll an asynchronous Task

1. Send `POST /v1/tasks/creators.check_audience_authenticity` with a unique `Idempotency-Key`. To repeat the same submission, reuse the same key and body. HTTP `202` returns a Job. Save its `id` and the relative URL in `Location`.
2. Wait the number of seconds in `Retry-After`, then call `GET /v1/tasks/creators.check_audience_authenticity/jobs/{job_id}` with the same API key, replacing `{job_id}` with the returned `id`. You can use the `Location` URL directly with the API origin. Keep polling while `status` is `queued`, `running`, or `settling`.
3. Stop at `completed`, `failed`, or `cancelled`. For `completed`, read `output`. An `output.status` of `not_found` is a normal empty result. For `failed`, read `error.code`, `error.retryable`, and `error.retry_hint`.

```bash theme={null}
curl -H "Authorization: Bearer $AISA_API_KEY" "${AISA_API_BASE}/v1/tasks/creators.check_audience_authenticity/jobs/${JOB_ID}"
```

The request and response panels use the schemas published by this API. Conditional requirements and allowed combinations are part of the request schema. Check the complete schema before combining filters or identities.

## Billing

| Input | Price unit | Price (USD) |
| - | - | - |
| All valid inputs | Per successful request | 1.18 |

Successful delivery is charged; a normal empty result is not charged.

Obtain an input-specific quote by sending the same request with `X-AISA-Cost-Mode: quote`; quoting neither executes the Task nor reserves funds. Execution reserves the estimated request charge and settles under the rules above. Use `X-AISA-Max-Price-USD` to cap the price.

Use an `Idempotency-Key` when executing a Task. For errors, inspect `error.code`, `error.request_id`, `error.retryable` and `error.retry_hint`. A reconciliation hint requires checking the existing request before retrying; do not assume a pending settlement is a refund.


## OpenAPI

````yaml tasks/openapi.json POST /v1/tasks/creators.check_audience_authenticity
openapi: 3.1.0
info:
  title: AIsa Tasks
  version: '1'
  x-aisa-runtime-release:
    artifact_revision: e90fa4c481ded37920694de9840c583d81f1bf2325828151f002073162c1a4c6
    compiler_revision: 0800a03af5e6be8b714a732a7a5447f1bcbc10d1
    source_digest: 66ea537681795a0c5ca93f8bae0914ace489d8a461f54e604f53c3142e68632d
    generation: 16764
servers:
  - url: https://api.aisa.one
security:
  - bearer: []
paths:
  /v1/tasks/creators.check_audience_authenticity:
    post:
      tags:
        - Tasks
      summary: Check creator audience authenticity
      description: >-
        Estimates suspicious accounts among sampled Instagram engagers or
        YouTube commenters. Each estimate identifies its population and
        denominator. A valid report with zero suspicious share counts as a
        successful delivery.
      operationId: task_creators.check_audience_authenticity
      parameters:
        - name: Idempotency-Key
          in: header
          schema:
            type: string
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/creators.check_audience_authenticity_request
      responses:
        '202':
          description: Job accepted
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/creators.check_audience_authenticity_response
          headers:
            Location:
              schema:
                type: string
                format: uri-reference
            Retry-After:
              schema:
                type: integer
        default:
          description: Error; use the returned HTTP status and retry guidance
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/creators.check_audience_authenticity_error
components:
  schemas:
    creators.check_audience_authenticity_request:
      $ref: >-
        #/components/schemas/creators.check_audience_authenticity_request.7_Request
      $schema: https://json-schema.org/draft/2020-12/schema
      x-aisa-runtime-rules: {}
    creators.check_audience_authenticity_response:
      $ref: >-
        #/components/schemas/creators.check_audience_authenticity_response.7_Response
      $schema: https://json-schema.org/draft/2020-12/schema
      x-aisa-runtime-rules: {}
    creators.check_audience_authenticity_error:
      $ref: '#/components/schemas/creators.check_audience_authenticity_error.4_Error'
      $schema: https://json-schema.org/draft/2020-12/schema
      x-aisa-runtime-rules: {}
    creators.check_audience_authenticity_request.7_Request:
      additionalProperties: false
      properties:
        input:
          $ref: >-
            #/components/schemas/creators.check_audience_authenticity_request.5_Input
      required:
        - input
      type: object
    creators.check_audience_authenticity_response.7_Response:
      additionalProperties: false
      properties:
        completedAt:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
        createdAt:
          format: date-time
          type: string
        customerDeadlineAt:
          format: date-time
          type: string
        endpoint:
          const: /v1/tasks/creators.check_audience_authenticity
        error:
          anyOf:
            - $ref: >-
                #/components/schemas/creators.check_audience_authenticity_response.4_ErrorDetail
            - type: 'null'
        id:
          type: string
        object:
          const: task_job
        output:
          anyOf:
            - $ref: >-
                #/components/schemas/creators.check_audience_authenticity_response.6_Output
            - type: 'null'
        outputExpired:
          type: boolean
        pricing:
          additionalProperties: false
          properties:
            authorizedMicrosUSD:
              minimum: 0
              type: integer
            billingMode:
              const: fixed_success
            currency:
              const: USD
            finalMicrosUSD:
              anyOf:
                - minimum: 0
                  type: integer
                - type: 'null'
          required:
            - currency
            - authorizedMicrosUSD
            - finalMicrosUSD
            - billingMode
          type: object
        status:
          enum:
            - queued
            - running
            - settling
            - completed
            - failed
            - cancelled
      required:
        - id
        - object
        - endpoint
        - status
        - createdAt
        - customerDeadlineAt
        - completedAt
        - pricing
        - output
        - error
      type: object
    creators.check_audience_authenticity_error.4_Error:
      additionalProperties: false
      properties:
        error:
          $ref: >-
            #/components/schemas/creators.check_audience_authenticity_error.5_ErrorDetail
      required:
        - error
      type: object
    creators.check_audience_authenticity_request.5_Input:
      additionalProperties: false
      properties:
        profile_url:
          anyOf:
            - not:
                pattern: >-
                  ^(h|H)(t|T)(t|T)(p|P)(s|S)://((w|W)(w|W)(w|W)\.)?(i|I)(n|N)(s|S)(t|T)(a|A)(g|G)(r|R)(a|A)(m|M)\.(c|C)(o|O)(m|M)/((\.|%2[Ee])|(\.|%2[Ee])(\.|%2[Ee])|(p|P|%70|%50)|(r|R|%72|%52)(e|E|%65|%45)(e|E|%65|%45)(l|L|%6[Cc]|%4[Cc])|(r|R|%72|%52)(e|E|%65|%45)(e|E|%65|%45)(l|L|%6[Cc]|%4[Cc])(s|S|%73|%53)|(s|S|%73|%53)(t|T|%74|%54)(o|O|%6[Ff]|%4[Ff])(r|R|%72|%52)(i|I|%69|%49)(e|E|%65|%45)(s|S|%73|%53)|(e|E|%65|%45)(x|X|%78|%58)(p|P|%70|%50)(l|L|%6[Cc]|%4[Cc])(o|O|%6[Ff]|%4[Ff])(r|R|%72|%52)(e|E|%65|%45)|(a|A|%61|%41)(c|C|%63|%43)(c|C|%63|%43)(o|O|%6[Ff]|%4[Ff])(u|U|%75|%55)(n|N|%6[Ee]|%4[Ee])(t|T|%74|%54)(s|S|%73|%53)|(d|D|%64|%44)(i|I|%69|%49)(r|R|%72|%52)(e|E|%65|%45)(c|C|%63|%43)(t|T|%74|%54))/?$
              pattern: >-
                ^(h|H)(t|T)(t|T)(p|P)(s|S)://((w|W)(w|W)(w|W)\.)?(i|I)(n|N)(s|S)(t|T)(a|A)(g|G)(r|R)(a|A)(m|M)\.(c|C)(o|O)(m|M)/([A-Za-z0-9._]|%(3[0-9]|[46][1-9A-Fa-f]|[57][0-9Aa]|5[Ff])|%2[Ee])+/?$
            - pattern: >-
                ^(h|H)(t|T)(t|T)(p|P)(s|S)://((w|W)(w|W)(w|W)\.)?(y|Y)(o|O)(u|U)(t|T)(u|U)(b|B)(e|E)\.(c|C)(o|O)(m|M)/(c|%63)(h|%68)(a|%61)(n|%6[Ee])(n|%6[Ee])(e|%65)(l|%6[Cc])/(U|%55)(C|%43)([A-Za-z0-9_-]|%(3[0-9]|[46][1-9A-Fa-f]|[57][0-9Aa]|5[Ff])|%2[Dd]){22}/?$
            - not:
                anyOf:
                  - pattern: >-
                      ^(h|H)(t|T)(t|T)(p|P)(s|S)://((w|W)(w|W)(w|W)\.)?(y|Y)(o|O)(u|U)(t|T)(u|U)(b|B)(e|E)\.(c|C)(o|O)(m|M)/(@|%40)(\.|%2[Ee]){1,2}/?$
                  - pattern: >-
                      ^(h|H)(t|T)(t|T)(p|P)(s|S)://((w|W)(w|W)(w|W)\.)?(y|Y)(o|O)(u|U)(t|T)(u|U)(b|B)(e|E)\.(c|C)(o|O)(m|M)/(@|%40).*%(20|23|25|2[Ff]|3[Ff]|40|5[Cc]|7[Ff]|[Cc]2%([89][0-9A-Fa-f]|[Aa]0)|[Ee]1%9[Aa]%80|[Ee]2%(80%(8[0-9Aa]|[Aa][89Ff])|81%9[Ff])|[Ee]3%80%80)
              pattern: "^(h|H)(t|T)(t|T)(p|P)(s|S)://((w|W)(w|W)(w|W)\\.)?(y|Y)(o|O)(u|U)(t|T)(u|U)(b|B)(e|E)\\.(c|C)(o|O)(m|M)/(@|%40)([^/@?#%\\\\\0- \x7F-\x9F\_  - \L\P  　]|%[2-7][0-9A-Fa-f]|(%([Cc][2-9A-Fa-f]|[Dd][0-9A-Fa-f])%[89AaBb][0-9A-Fa-f]|%[Ee]0%[AaBb][0-9A-Fa-f]%[89AaBb][0-9A-Fa-f]|%[Ee]([1-9A-Ca-cEeFf]%[89AaBb][0-9A-Fa-f]|[Dd]%[89][0-9A-Fa-f])%[89AaBb][0-9A-Fa-f]|%[Ff](0%[9AaBb][0-9A-Fa-f]|[1-3]%[89AaBb][0-9A-Fa-f]|4%8[0-9A-Fa-f])%[89AaBb][0-9A-Fa-f]%[89AaBb][0-9A-Fa-f]))+/?$"
          format: iri
          maxLength: 2048
          type: string
      required:
        - profile_url
      type: object
    creators.check_audience_authenticity_response.4_ErrorDetail:
      additionalProperties: false
      else:
        properties:
          retryable:
            const: false
      if:
        properties:
          retry_hint:
            const: after_delay
      properties:
        code:
          enum:
            - invalid_request
            - invalid_input
            - unsupported_route
            - unsupported_capability
            - unsupported_identity
            - provider_rejected_input
            - invalid_cost_mode
            - cost_quote_payment_unsupported
            - cost_quote_unsupported
            - unpriced_request_value
            - missing_api_key
            - invalid_api_key
            - api_key_disabled
            - expired_api_key
            - unauthorized
            - forbidden
            - user_disabled
            - ip_not_allowed
            - api_key_access_denied
            - estimated_price_exceeds_max_price
            - insufficient_api_key_balance
            - insufficient_wallet_balance
            - task_not_found
            - endpoint_not_found
            - request_in_progress
            - request_already_completed
            - idempotency_conflict
            - request_id_conflict
            - request_too_large
            - method_not_allowed
            - rate_limit_exceeded
            - internal_error
            - service_unavailable
            - cancellation_not_supported
            - job_not_found
          type: string
        message:
          type: string
        param:
          type: string
        problems:
          items:
            type: string
          type: array
        request_id:
          minLength: 1
          type: string
        retry_hint:
          enum:
            - never
            - after_delay
            - reconcile_first
          type: string
        retryable:
          type: boolean
        similar_tasks:
          items:
            type: string
          type: array
        task_id:
          type: string
      required:
        - code
        - message
        - request_id
        - retryable
        - retry_hint
      then:
        properties:
          retryable:
            const: true
      type: object
    creators.check_audience_authenticity_response.6_Output:
      additionalProperties: false
      allOf:
        - else:
            properties:
              meta:
                properties:
                  delivered:
                    const: false
              result:
                type: 'null'
          if:
            properties:
              status:
                enum:
                  - found
                  - partial
          then:
            properties:
              meta:
                properties:
                  delivered:
                    const: true
              result:
                $ref: >-
                  #/components/schemas/creators.check_audience_authenticity_response.8_Result
        - properties:
            meta:
              properties:
                approximate_fields:
                  items:
                    enum:
                      - estimates
                  uniqueItems: true
                missing_fields:
                  propertyNames:
                    enum:
                      - analyzed_at
                      - creator.avatar_url
                      - creator.display_name
                      - creator.follower_count
                      - creator.identity.handle
                      - creator.identity.native_id
                      - creator.identity.id_namespace
                      - estimates.0.sample_size
                      - estimates.1.sample_size
                      - estimates.2.sample_size
      properties:
        meta:
          additionalProperties: false
          properties:
            approximate_fields:
              items:
                type: string
              type:
                - array
                - 'null'
            delivered:
              type: boolean
            missing_fields:
              additionalProperties:
                description: >-
                  A stable missing-field reason, or distinct reasons separated
                  by '; '. Unrecognized internal diagnostics are reported as
                  unspecified.
                pattern: >-
                  ^(not_returned|not_supported|unparseable|continuation_failed|reference_identity_unverifiable|page_limit_reached|report_part_failed|some_account_identities_unusable|some_creators_unanalyzed|insufficient_analyzable_creators|pagination_not_reported|page_or_item_limit_reached|some_distributions_unusable|quote_not_usable|quote_availability_not_returned|quote_price_not_returned|unspecified)(;
                  (not_returned|not_supported|unparseable|continuation_failed|reference_identity_unverifiable|page_limit_reached|report_part_failed|some_account_identities_unusable|some_creators_unanalyzed|insufficient_analyzable_creators|pagination_not_reported|page_or_item_limit_reached|some_distributions_unusable|quote_not_usable|quote_availability_not_returned|quote_price_not_returned|unspecified))*$
                type: string
              type:
                - object
                - 'null'
          required:
            - missing_fields
            - approximate_fields
            - delivered
          type: object
        result:
          anyOf:
            - $ref: >-
                #/components/schemas/creators.check_audience_authenticity_response.8_Result
            - type: 'null'
        status:
          enum:
            - found
            - not_found
        task:
          const: creators.check_audience_authenticity
        version:
          const: 1
      required:
        - task
        - version
        - status
        - result
        - meta
      type: object
    creators.check_audience_authenticity_error.5_ErrorDetail:
      additionalProperties: false
      else:
        properties:
          retryable:
            const: false
      if:
        properties:
          retry_hint:
            const: after_delay
      properties:
        code:
          enum:
            - invalid_request
            - invalid_input
            - unsupported_route
            - unsupported_capability
            - unsupported_identity
            - provider_rejected_input
            - invalid_cost_mode
            - cost_quote_payment_unsupported
            - cost_quote_unsupported
            - unpriced_request_value
            - missing_api_key
            - invalid_api_key
            - api_key_disabled
            - expired_api_key
            - unauthorized
            - forbidden
            - user_disabled
            - ip_not_allowed
            - api_key_access_denied
            - estimated_price_exceeds_max_price
            - insufficient_api_key_balance
            - insufficient_wallet_balance
            - task_not_found
            - endpoint_not_found
            - request_in_progress
            - request_already_completed
            - idempotency_conflict
            - request_id_conflict
            - request_too_large
            - method_not_allowed
            - rate_limit_exceeded
            - internal_error
            - service_unavailable
            - cancellation_not_supported
            - job_not_found
          type: string
        message:
          type: string
        param:
          type: string
        problems:
          items:
            type: string
          type: array
        request_id:
          minLength: 1
          type: string
        retry_hint:
          enum:
            - never
            - after_delay
            - reconcile_first
          type: string
        retryable:
          type: boolean
        similar_tasks:
          items:
            type: string
          type: array
        task_id:
          type: string
      required:
        - code
        - message
        - request_id
        - retryable
        - retry_hint
      then:
        properties:
          retryable:
            const: true
      type: object
    creators.check_audience_authenticity_response.8_Result:
      allOf:
        - $ref: >-
            #/components/schemas/creators.check_audience_authenticity_response.1_CreatorAuthenticityReport
        - allOf:
            - properties:
                estimates:
                  minItems: 1
                  minProperties: 1
                  not:
                    type: 'null'
                  pattern: \S
              required:
                - estimates
              type: object
    creators.check_audience_authenticity_response.1_CreatorAuthenticityReport:
      additionalProperties: false
      allOf:
        - if:
            properties:
              creator:
                properties:
                  identity:
                    properties:
                      platform:
                        enum:
                          - instagram
                    required:
                      - platform
          then:
            properties:
              estimates:
                allOf:
                  - contains:
                      properties:
                        metric:
                          enum:
                            - suspected_fake_share
                      required:
                        - metric
                    maxContains: 1
                    minContains: 1
                  - contains:
                      properties:
                        metric:
                          enum:
                            - real_person_share
                      required:
                        - metric
                    maxContains: 1
                    minContains: 0
                  - contains:
                      properties:
                        metric:
                          enum:
                            - influencer_account_share
                      required:
                        - metric
                    maxContains: 1
                    minContains: 0
                items:
                  properties:
                    basis:
                      const: classified_sample
                    metric:
                      enum:
                        - suspected_fake_share
                        - real_person_share
                        - influencer_account_share
                    population:
                      const: engaged_accounts
        - if:
            properties:
              creator:
                properties:
                  identity:
                    properties:
                      platform:
                        enum:
                          - youtube
                    required:
                      - platform
          then:
            properties:
              estimates:
                allOf:
                  - contains:
                      properties:
                        metric:
                          enum:
                            - suspicious_share
                      required:
                        - metric
                    maxContains: 1
                    minContains: 1
                items:
                  properties:
                    basis:
                      const: observed_sample
                    metric:
                      enum:
                        - suspicious_share
                    population:
                      const: commenters
      properties:
        analyzed_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
        creator:
          $ref: >-
            #/components/schemas/creators.check_audience_authenticity_response.3_CreatorSummary
        estimates:
          contains:
            properties:
              metric:
                enum:
                  - suspected_fake_share
                  - suspicious_share
            required:
              - metric
          items:
            $ref: >-
              #/components/schemas/creators.check_audience_authenticity_response.0_CreatorAuthenticityEstimate
          maxItems: 4
          minItems: 1
          type: array
      required:
        - creator
        - analyzed_at
        - estimates
      type: object
    creators.check_audience_authenticity_response.3_CreatorSummary:
      additionalProperties: false
      properties:
        avatar_url:
          anyOf:
            - type: string
            - type: 'null'
        display_name:
          anyOf:
            - type: string
            - type: 'null'
        follower_count:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
        identity:
          $ref: >-
            #/components/schemas/creators.check_audience_authenticity_response.2_CreatorIdentity
      required:
        - identity
        - display_name
        - avatar_url
        - follower_count
      type: object
    creators.check_audience_authenticity_response.0_CreatorAuthenticityEstimate:
      additionalProperties: false
      properties:
        basis:
          enum:
            - classified_sample
            - observed_sample
          type: string
        metric:
          enum:
            - suspected_fake_share
            - suspicious_share
            - real_person_share
            - influencer_account_share
          type: string
        population:
          enum:
            - engaged_accounts
            - commenters
          type: string
        sample_size:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        value:
          maximum: 1
          minimum: 0
          type: number
      required:
        - metric
        - population
        - basis
        - value
        - sample_size
      type: object
    creators.check_audience_authenticity_response.2_CreatorIdentity:
      additionalProperties: false
      allOf:
        - else:
            properties:
              id_namespace:
                type: 'null'
          if:
            properties:
              native_id:
                type: string
          then:
            properties:
              id_namespace:
                minLength: 1
                type: string
      anyOf:
        - properties:
            native_id:
              minLength: 1
              type: string
        - properties:
            handle:
              minLength: 1
              type: string
        - properties:
            profile_url:
              minLength: 1
              type: string
      properties:
        handle:
          anyOf:
            - pattern: \S
              type: string
            - type: 'null'
        id_namespace:
          anyOf:
            - pattern: \S
              type: string
            - type: 'null'
        native_id:
          anyOf:
            - pattern: \S
              type: string
            - type: 'null'
        platform:
          enum:
            - instagram
            - youtube
        profile_url:
          anyOf:
            - format: uri
              type: string
            - type: 'null'
      required:
        - platform
        - native_id
        - id_namespace
        - handle
        - profile_url
      type: object
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

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