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

# Retrieve IDs of recently expired jobs



## OpenAPI

````yaml /openapi.yaml get /api/jobs/expired
openapi: 3.1.0
info:
  title: Jobo Enterprise API
  description: >
    The Jobo Enterprise API provides programmatic access to job listings,
    intelligent search,

    real-time feeds, automated job applications, and geocoding services.
  version: 1.0.0
  contact:
    name: Jobo Support
    url: https://jobo.world
    email: support@jobo.world
servers:
  - url: https://connect.jobo.world
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Jobs Search
    description: Search and retrieve job listings
  - name: Jobs Feed
    description: Bulk job feeds and expiration tracking
  - name: Career Sites Feed
    description: Bulk feed of newly discovered career sites with enriched company profiles
  - name: Companies
    description: Company profiles and company-scoped job listings
  - name: Auto Apply
    description: Automated job application sessions
  - name: Auto Apply Profiles
    description: Manage applicant profiles for auto-apply
  - name: Locations
    description: Geocoding and location services
paths:
  /api/jobs/expired:
    get:
      tags:
        - Jobs Feed
      summary: Retrieve IDs of recently expired jobs
      operationId: getExpiredJobIds
      parameters:
        - name: expired_since
          in: query
          required: false
          schema:
            type: string
            format: date-time
            nullable: true
          description: |
            Return jobs that expired after this UTC timestamp (ISO 8601).
            Optional — defaults to **24 hours ago** when omitted. Maximum
            lookback is 7 days.
        - name: cursor
          in: query
          schema:
            type: string
          description: Cursor for pagination
        - name: batch_size
          in: query
          schema:
            type: integer
            default: 1000
            minimum: 1
            maximum: 10000
          description: Number of IDs per batch (default 1000)
      responses:
        '200':
          description: Batch of expired job IDs
          headers:
            X-Has-More:
              schema:
                type: boolean
              description: Duplicates response body `has_more` for quick checks.
            Cache-Control:
              schema:
                type: string
              description: Always `private, max-age=30` — short TTL for aggressive pollers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpiredJobIdsFeedResponse'
        '400':
          description: |
            Invalid query parameter — `expired_since` older than 7 days, in the
            future, or `batch_size` out of range.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    ExpiredJobIdsFeedResponse:
      type: object
      properties:
        job_ids:
          type: array
          items:
            type: string
            format: uuid
        next_cursor:
          type: string
          nullable: true
        has_more:
          type: boolean
    ProblemDetails:
      type: object
      description: RFC 7807 problem details object returned for error responses.
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
  responses:
    Unauthorized:
      description: Missing or invalid API key
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: API key provided by Jobo

````