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

# Report whether a solved task's token worked

> "incorrect" means the site rejected the token: the next statistics update counts
that solve as a failure for the provider, so routing learns from it. Only your
own solved tasks, up to an hour after they finished. Nothing is refunded.




## OpenAPI

````yaml /openapi.yaml post /v1/tasks/{id}/report
openapi: 3.0.3
info:
  title: SafeConduct API
  version: 0.21.0
  description: >
    SafeConduct routes each captcha (later antibot, SERP and proxy) request to
    the best

    provider for its target site, billed from one wallet.


    Compatibility promise (ADR-003): within /v1, changes are additive only: new

    endpoints, new optional fields, new enum values. Clients must ignore unknown
    fields

    and tolerate unknown enum values. Anything else ships as /v2, side by side.


    This is the single source of truth: the dashboard's client is generated from
    it,

    the server is tested against it, and CI rejects breaking changes to it.
servers:
  - url: https://api.safeconduct.ai
security: []
tags:
  - name: captcha
    description: >
      Captcha solving. Create a task, then poll it (or wait on it), or do both
      in one

      call with /v1/tasks/solve. Each task is routed to the best provider for
      its

      site, retried and failed over automatically, and charged only if solved:
      the

      price is reserved when it is created and the unused part released at the
      end.
  - name: billing
    description: Wallet and payments
  - name: stats
    description: Public provider statistics; no key needed
  - name: compat
    description: >
      Drop-in compatible API: the createTask / getTaskResult / getBalance
      methods of

      Anti-Captcha, also used by 2Captcha (v2 API), CapSolver and CapMonster.
      Point an

      existing client at this server's base URL and use a SafeConduct key as
      clientKey.

      Every answer is HTTP 200; errorId > 0 means an error (Anti-Captcha's
      codes;

      errorDescription starts with the SafeConduct error code). taskId is an
      integer,

      or a string for CapSolver-style requests (appId set, or CapSolver's type
      names).

      Also 2Captcha's original in.php / res.php API (GET or POST, form
      parameters):

      plain-text answers (OK|<id>, CAPCHA_NOT_READY, OK|<token>, ERROR_...) or
      JSON

      with json=1.
paths:
  /v1/tasks/{id}/report:
    post:
      tags:
        - captcha
      summary: Report whether a solved task's token worked
      description: >
        "incorrect" means the site rejected the token: the next statistics
        update counts

        that solve as a failure for the provider, so routing learns from it.
        Only your

        own solved tasks, up to an hour after they finished. Nothing is
        refunded.
      operationId: reportTask
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - verdict
              additionalProperties: false
              properties:
                verdict:
                  type: string
                  enum:
                    - incorrect
                    - correct
      responses:
        '200':
          description: Recorded (a later report on the same task replaces it)
          content:
            application/json:
              schema:
                type: object
                required:
                  - id
                  - verdict
                properties:
                  id:
                    type: string
                  verdict:
                    type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: No such task for this account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - bearer: []
        - apiKey: []
components:
  responses:
    BadRequest:
      description: >
        The request is invalid (BAD_PARAMS, BAD_URL, UNSUPPORTED_TYPE,
        BAD_SITEKEY,

        BAD_PROXY, ...); 413 when the body is over 64 KiB
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: The API key is missing, invalid or revoked (UNAUTHORIZED)
      headers:
        WWW-Authenticate:
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The key may not use this product (FORBIDDEN)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: Something went wrong on our side (INTERNAL and other ops codes)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
    ErrorBody:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: A stable error code (see the error code list); tolerate new values
          example: INSUFFICIENT_BALANCE
        message:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: 'Your API key: Authorization: Bearer sy_live_...'
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: The same key in a header, for clients that can't set Authorization

````

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