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

# Get Job

> Retrieve job status, result payload, and user warnings.

When the platform returns or exposes them, completed publishing jobs include normalized `platform_post_id` and `platform_post_url` fields. The raw provider result remains available in `data.job.result`.


## OpenAPI

````yaml GET /api/v1/jobs/{id}
openapi: 3.0.3
info:
  title: Mallary API
  version: 1.6.0
  description: >
    Public API for multi-platform publishing, analytics, media upload, and
    webhooks.


    Authentication:

    - Use header `Authorization: Bearer {api_key}`.

    - API key identity is authoritative. Do not use `user_id` to identify a
    caller.


    Connection profiles:

    - Omit `profile_id` to use the authenticated user's default profile.

    - Send the profile's random public `profile_id` when you want to publish,
    list posts, read post analytics or audience counts, list platforms, update
    settings, or disconnect a platform for a non-default profile.

    - Use `GET /api/v1/profiles` to list profile IDs.

    - Total social media accounts: Starter 5 ($15/month), Pro 15 ($29/month),
    Business 100 ($95/month). Posts are unlimited. Scheduling, analytics, and AI
    auto-replies are included. X publishing and comments use credits at cost;
    analytics and account lookups use no credits. Existing customers keep their
    current terms; use the authenticated workspace limits.


    Rate limits (per user, per minute) depend on subscription plan:

    - plan_id 1: 75 req/min

    - plan_id 2: 150 req/min

    - plan_id 3: 750 req/min

    - plan_id 4: 1500 req/min
servers:
  - url: https://mallary.ai
    description: Production
security:
  - bearerAuth: []
externalDocs:
  description: Full product docs
  url: https://docs.mallary.ai/
paths:
  /api/v1/jobs/{id}:
    get:
      summary: Get job status
      description: Returns queue/database job status, result, and user warnings.
      operationId: getJob
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
          description: Job ID returned by `POST /api/v1/post`.
      responses:
        '200':
          description: Job found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetJobResponse'
        '401':
          description: Missing or invalid API key
        '403':
          description: Supplied `user_id` (if any) does not match API key owner
        '404':
          description: Job not found
components:
  schemas:
    GetJobResponse:
      type: object
      properties:
        status:
          type: string
          enum:
            - ok
        data:
          type: object
          properties:
            job:
              $ref: '#/components/schemas/JobData'
            warnings:
              type: array
              items:
                $ref: '#/components/schemas/AutoReplyWarning'
    JobData:
      type: object
      properties:
        id:
          type: string
        platform:
          $ref: '#/components/schemas/Platform'
        status:
          type: string
          enum:
            - queued
            - waiting
            - delayed
            - active
            - processing
            - action_required
            - completed
            - failed
            - cancelled
            - unknown
        attemptsMade:
          type: integer
          nullable: true
        attemptsAllowed:
          type: integer
          nullable: true
        next_retry_at:
          type: string
          nullable: true
        error_code:
          type: string
          nullable: true
        quota_reset_at:
          type: string
          nullable: true
          description: >-
            Expected YouTube project upload-quota reset time in ISO 8601 format
            when `error_code` is `youtube_project_upload_quota_exhausted`.
        retryable:
          type: boolean
          nullable: true
        failedReason:
          type: string
          nullable: true
        platform_post_id:
          type: string
          nullable: true
          description: Platform-returned post ID when the job has published successfully.
        platform_post_url:
          type: string
          nullable: true
          description: Public platform post URL when available.
        result:
          type: object
          nullable: true
          additionalProperties: true
        error:
          type: string
          nullable: true
        action_required:
          type: object
          nullable: true
          additionalProperties: true
        created_at:
          type: string
          nullable: true
        updated_at:
          type: string
          nullable: true
        started_at:
          type: string
          nullable: true
        finished_at:
          type: string
          nullable: true
    AutoReplyWarning:
      type: object
      properties:
        scope:
          type: string
        platform:
          type: string
        code:
          type: string
        severity:
          type: string
          enum:
            - warning
            - error
            - info
        message:
          type: string
        details:
          nullable: true
        retry_at:
          type: string
          nullable: true
        expires_at:
          type: string
          nullable: true
        updated_at:
          type: string
          nullable: true
    Platform:
      type: string
      description: Supported publishing platform identifier.
      enum:
        - twitter
        - x
        - facebook
        - instagram
        - linkedin
        - youtube
        - tiktok
        - pinterest
        - reddit
        - threads
        - bluesky
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Use `Authorization: Bearer {api_key}`'

````

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