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

# Poll a queued Grok extraction job



## OpenAPI

````yaml /openapi-spec/xshot.yaml get /twitter/grok/extract/job
openapi: 3.0.3
info:
  title: Xshot REST API
  version: 1.0.0
  description: >
    Twitter/X data API. Access user profiles, tweets, communities, lists,
    spaces, and trends.


    All endpoints require authentication via `api_key` query parameter,
    `x-api-key` header, or `Authorization: Bearer` header.
  contact:
    name: Xshot
    url: https://api.xshot.fun
servers:
  - url: https://api.xshot.fun
    description: Production
security:
  - ApiKeyQuery: []
  - ApiKeyHeader: []
  - BearerAuth: []
paths:
  /twitter/grok/extract/job:
    get:
      tags:
        - Tweets
      summary: Poll a queued Grok extraction job
      operationId: getGrokExtractJob
      parameters:
        - name: job_id
          in: query
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Job status + results
          content:
            application/json:
              schema:
                type: object
                properties:
                  job_id:
                    type: string
                  total:
                    type: integer
                  done:
                    type: integer
                  pending:
                    type: integer
                  complete:
                    type: boolean
                  results:
                    type: array
                    items:
                      type: object
        '404':
          description: Job not found or expired
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
    BearerAuth:
      type: http
      scheme: bearer

````