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

# Get a skill creation

> Check a skill creation until it is ready to run, needs a fix, or has failed.

`status` moves through `queued`, `recording`, `validating`, then `ready`, `needs_fix`, or `failed`. Check about every 30 seconds and show `progress` while it runs. When it stops, `next_step` says what to do.

`needs_fix` means the skill was saved as a draft but its check run did not pass: fix it with [Improve a skill](/api-reference/improvements/improve), do not create it again. `failed` means nothing was saved.

Every status, every field, and an example `needs_fix` response are in [Create a skill](/guides/create-a-skill#from-a-sentence).

MCP tool: `get_skill_creation`.


## OpenAPI

````yaml GET /v1/skill-creations/{creation_id}
openapi: 3.1.0
info:
  title: Valendata REST API
  version: 1.0.0
  description: >-
    Create, run, schedule, and improve skills and workflows over JSON and HTTPS.
    Every route is under `/v1`; changes inside v1 are additive only (new routes,
    new optional parameters, new response fields). A route that will go away is
    marked `deprecated` here and answers with `Deprecation`, `Sunset` and a
    `Link` to its replacement for at least six months before it is removed.
    Errors, limits, pagination and idempotency:
    https://docs.valendata.com/api-reference/errors.
  license:
    name: Proprietary
    url: https://www.valendata.com/terms-and-conditions
servers:
  - url: https://api.valendata.com
    description: Production
security:
  - ApiKeyAuth: []
  - ApiKeyHeader: []
tags:
  - name: Skills
    description: List, create, read, update, and delete skills.
  - name: Runs
    description: Run skills and workflows, read any run, and cancel one.
  - name: Skill versions
    description: List, compare, restore, and pin a skill's versions.
  - name: Improvements
    description: >-
      Fix a skill, add fields, or re-learn its detail steps, and read its change
      history.
  - name: Schedules
    description: Run a skill or workflow on a fixed cadence.
  - name: Workflows
    description: List, create, read, update, and delete workflows.
  - name: Logins
    description: Saved website logins a skill can sign in with.
  - name: Account and usage
    description: Your plan, credit balance, and usage.
  - name: Webhooks
    description: The secret that signs webhook deliveries.
paths:
  /v1/skill-creations/{creation_id}:
    get:
      tags:
        - Skills
      summary: Get a skill creation
      description: >-
        Where a creation is: `queued`, `recording`, `validating`, `ready` (run
        `run_url`), `needs_fix` (the recording was saved as a draft skill with
        `sample_rows`, but its test replay did not pass — fix it with `POST
        /v1/skills/{slug}/improve`, do not create it again) or `failed` (nothing
        was saved; `error` says why). `progress` is the latest step in plain
        words and `credits_charged` what the creation has cost so far.
        `next_step` says what to do. Only the account that started it can read
        it.
      operationId: get_skill_creation
      parameters:
        - name: creation_id
          in: path
          required: true
          schema:
            type: string
            title: Creation Id
          example: sc_3f9a1c2b7d4e5f60
      responses:
        '200':
          description: The creation's current state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillCreationStatus'
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - ApiKeyAuth: []
        - ApiKeyHeader: []
components:
  schemas:
    SkillCreationStatus:
      properties:
        creation_id:
          type: string
          title: Creation Id
        status:
          type: string
          title: Status
          description: >-
            queued | recording | validating (in progress) | ready (run run_url)
            | needs_fix (the recording was saved as a draft skill but its test
            replay did not pass — fix it with POST /v1/skills/{slug}/improve) |
            failed (nothing was saved; error says why).
        status_url:
          type: string
          title: Status Url
        task:
          type: string
          title: Task
          description: What the skill was asked to do.
        start_url:
          type: string
          title: Start Url
          description: The page the recording started on.
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: The skill name used (derived from the task when none was given).
        progress:
          anyOf:
            - type: string
            - type: 'null'
          title: Progress
          description: >-
            The latest progress line in plain words, e.g. 'Step 4: type the
            search and press Enter'. Changes every few seconds while the
            creation runs.
        skill_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Skill Id
        slug:
          anyOf:
            - type: string
            - type: 'null'
          title: Slug
        skill_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Skill Url
        run_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Run Url
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        diagnosis:
          anyOf:
            - $ref: '#/components/schemas/Diagnosis'
            - type: 'null'
        inputs:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          title: Inputs
        output_fields:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          title: Output Fields
        credits_charged:
          type: number
          title: Credits Charged
          description: Credits spent on this creation so far, exact to 0.01.
          default: 0
        sample_rows:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Sample Rows
          description: >-
            Up to 3 rows the recording got, once status is needs_fix or ready.
            Always null in GET /v1/skill-creations list items — read one
            creation for them.
        sample_row_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Sample Row Count
          description: >-
            How many rows the recording got (needs_fix or ready; null in list
            items).
        next_step:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Step
          description: What to do now, in one sentence; null while in progress.
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
        idempotent_replay:
          type: boolean
          title: Idempotent Replay
          default: false
      type: object
      required:
        - creation_id
        - status
        - status_url
        - task
        - start_url
      title: SkillCreationStatus
      description: >-
        Where a creation is. ``skill_id``/``slug`` are set once the recording is
        saved;

        ``status`` is ready only after the published skill passed its validation
        replay.
    Diagnosis:
      properties:
        rows:
          type: integer
          title: Rows
          default: 0
        missing_fields:
          items:
            type: string
          type: array
          title: Missing Fields
          description: Contract fields fewer than half the rows came back with.
        partial_fields:
          items:
            type: string
          type: array
          title: Partial Fields
          description: >-
            Fields filled on at least half the rows but not all, whose blank
            rows the page capture explained (see per_field severity/note).
        per_field:
          additionalProperties:
            $ref: '#/components/schemas/FieldDiagnosis'
          type: object
          title: Per Field
          description: 'Every field some rows lacked: fill, where it was tried, evidence.'
        triage_kind:
          anyOf:
            - type: string
            - type: 'null'
          title: Triage Kind
          description: >-
            missing_fields | partial_fields | not_shown | suspect_rows |
            element_changed | extraction_drift | blocked | logged_out |
            login_failed | site_down | page_not_loaded | recording_failed |
            unknown
        what_we_tried:
          items:
            type: string
          type: array
          title: What We Tried
        suggested_hint_examples:
          items:
            type: string
          type: array
          title: Suggested Hint Examples
          description: Example plain-English hints for improve_skill.
        quality_flags:
          items:
            $ref: '#/components/schemas/QualityFlag'
          type: array
          title: Quality Flags
          description: >-
            Single-run row checks that fired: repeated rows, pages repeating
            earlier pages, placeholder values.
        no_real_rows:
          type: boolean
          title: No Real Rows
          description: >-
            Rows came back but every field was empty on every one — the run
            never reached the results.
          default: false
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        summary:
          type: string
          title: Summary
          description: >-
            One readable line, e.g. 'phone: found on 0/5 rows — tried the result
            cards'.
          default: ''
      type: object
      title: Diagnosis
      description: >-
        Why the run came back short, and what a hint could say to fix it (POST
        /v1/skills/{slug}/improve).
    Error:
      type: object
      required:
        - detail
        - code
        - type
        - request_id
      properties:
        detail:
          description: What went wrong. A string, or an object for errors with more to say.
          oneOf:
            - type: string
            - additionalProperties: true
              type: object
        code:
          type: string
          description: >-
            Stable machine-readable code. Known values: `bad_request`,
            `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`,
            `unauthorized`, `payment_required`, `permission_denied`,
            `not_found`, `method_not_allowed`, `conflict`,
            `idempotency_key_in_use`, `idempotent_replay_unavailable`,
            `payload_too_large`, `unsupported_media_type`, `validation_error`,
            `idempotency_key_reused`, `rate_limited`, `internal_error`,
            `upstream_error`, `service_unavailable`.
          example: not_found
        type:
          type: string
          enum:
            - invalid_request_error
            - authentication_error
            - billing_error
            - permission_error
            - conflict_error
            - idempotency_error
            - rate_limit_error
            - api_error
          description: The broad category of the error.
        request_id:
          type: string
          description: Also in the `X-Request-ID` header.
          example: 3f9a1c2b7d4e
        param:
          type: string
          description: >-
            The field at fault, on validation errors (dotted path, e.g.
            `inputs.city`).
        errors:
          type: array
          items:
            additionalProperties: true
            type: object
          description: Every validation problem, on a 422 from request validation.
    FieldDiagnosis:
      properties:
        filled:
          type: string
          title: Filled
          description: Rows that got the field, e.g. '0/5'.
        filled_count:
          type: integer
          title: Filled Count
          default: 0
        total:
          type: integer
          title: Total
          default: 0
        where_tried:
          items:
            type: string
          type: array
          title: Where Tried
          description: >-
            Where the recipe looked, e.g. 'the result cards', "each row's
            details page".
        evidence:
          type: string
          title: Evidence
          default: ''
        not_shown:
          anyOf:
            - type: integer
            - type: 'null'
          title: Not Shown
          description: >-
            Blank rows whose result card shows no value for the field at all
            (e.g. a sponsored card) — not a read the skill missed. Null when it
            could not be told.
        shown_unread:
          anyOf:
            - type: integer
            - type: 'null'
          title: Shown Unread
          description: >-
            Blank rows whose result card DOES show a value — a read the skill
            missed. Set on partial fields (filled on at least half the rows) the
            page capture could speak for.
        severity:
          anyOf:
            - type: string
            - type: 'null'
          title: Severity
          description: >-
            Partial fields only: warn (on the card but not read on some rows — a
            hint can fix it) | info (the blank rows' cards show no value —
            nothing to fix).
        note:
          anyOf:
            - type: string
            - type: 'null'
          title: Note
          description: >-
            Partial fields only, e.g. 'filled on 3/5 — on the card but not read
            on 2' or 'filled on 3/5 — not shown on 2 rows' cards'.
      type: object
      required:
        - filled
      title: FieldDiagnosis
    QualityFlag:
      properties:
        kind:
          type: string
          title: Kind
          description: repeated_rows | pagination_overlap | placeholder_values
        severity:
          type: string
          title: Severity
          description: fail (the output is not data; a validation rejects it) | warn
          default: warn
        message:
          type: string
          title: Message
          default: ''
        field:
          anyOf:
            - type: string
            - type: 'null'
          title: Field
      type: object
      required:
        - kind
      title: QualityFlag
      description: A single-run row check that fired (row_checks.py).
  headers:
    X-Request-ID:
      description: >-
        This request's id (yours, if you sent a valid `X-Request-ID`). Quote it
        to support.
      schema:
        type: string
    X-RateLimit-Limit:
      description: Requests a minute this API key may make.
      schema:
        type: integer
    X-RateLimit-Remaining:
      description: Requests left in the current minute.
      schema:
        type: integer
    X-RateLimit-Reset:
      description: Unix time (seconds) the current window ends.
      schema:
        type: integer
    Retry-After:
      description: Seconds to wait before retrying.
      schema:
        type: integer
  responses:
    Unauthorized:
      description: The API key is missing, malformed, revoked, or expired.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            detail: The API key is missing, malformed, revoked, or expired.
            code: unauthorized
            type: authentication_error
            request_id: 3f9a1c2b7d4e
    NotFound:
      description: It does not exist, or it is not yours to see.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            detail: It does not exist, or it is not yours to see.
            code: not_found
            type: invalid_request_error
            request_id: 3f9a1c2b7d4e
    Unprocessable:
      description: >-
        A field is invalid (`param` names it), or the Idempotency-Key was used
        with a different request.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            detail: 'Invalid request — name: Field required'
            code: validation_error
            type: invalid_request_error
            request_id: 3f9a1c2b7d4e
            param: name
            errors:
              - type: missing
                loc:
                  - body
                  - name
                msg: Field required
    RateLimited:
      description: >-
        Too many requests for this key, or too many runs in progress. Wait
        `Retry-After` seconds.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            detail: >-
              Too many requests for this key, or too many runs in progress. Wait
              `Retry-After` seconds.
            code: rate_limited
            type: rate_limit_error
            request_id: 3f9a1c2b7d4e
    InternalError:
      description: >-
        Something broke on our side. Retry; runs that fail on our side are
        refunded.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            detail: >-
              Something broke on our side. Retry; runs that fail on our side are
              refunded.
            code: internal_error
            type: api_error
            request_id: 3f9a1c2b7d4e
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: vd_sk_...
      description: >-
        API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`.
        Create keys in Settings → API Keys.
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: The same API key in the `x-api-key` header.

````

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