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

# Create inference job

> Create an empty inference job to add chat completion requests to. The job doesn't run until you submit it.



## OpenAPI

````yaml post /v1/inference/jobs
openapi: 3.1.0
info:
  title: SeekrFlow API
  description: SeekrFlow API Documentation
  termsOfService: http://www.seekr.com/support
  contact:
    name: Seekr API Support
    url: http://www.seekr.com/contact
    email: contact@seekr.com
  version: 5.48.1
servers:
  - url: https://flow.seekr.com
    description: SeekrBuild server base URL
security: []
paths:
  /v1/inference/jobs:
    post:
      tags:
        - Inference Jobs
      summary: Create Inference Job
      operationId: create_inference_job_v1_inference_jobs_post
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
                - $ref: '#/components/schemas/InferenceJobCreate'
                - type: 'null'
              title: Create
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InferenceJobCreateResponse'
        '422':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    InferenceJobCreate:
      properties:
        priority:
          type: integer
          maximum: 100
          minimum: 0
          title: Priority
          default: 0
          description: >-
            Scheduling priority for the job, from 0 (lowest) to 100 (highest).
            Defaults to 0 and can't be changed after the job is created.
        job_ttl_seconds:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
          title: Job Ttl Seconds
          description: >-
            How long to keep the job, in seconds. Unfinished requests are
            cancelled when the job expires. Defaults to the service's retention
            period, and a longer value is rejected.
        output_ttl_seconds:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
          title: Output Ttl Seconds
          description: >-
            How long to keep each unacknowledged result after it's produced, in
            seconds. Defaults to the service's retention period, and a longer
            value is rejected.
      additionalProperties: false
      type: object
      title: InferenceJobCreate
    InferenceJobCreateResponse:
      properties:
        id:
          type: string
          title: Id
      type: object
      required:
        - id
      title: InferenceJobCreateResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: >-
        Your Seekr API key, sent in the Authorization header with no 'Bearer'
        prefix.
      in: header
      name: Authorization

````