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

# /usajobs/events

> Get one US federal hiring event from USAJOBS by its id. Returns the event title, URL, date and time with timezone, venue and address or online flag, registration website, full description, hosting organization, the hiring paths it is aimed at, and the related job announcements promoted at the event.

**Price:** 1 credit

**⚠️ Common errors:** 412: The event does not exist or is no longer listed on USAJOBS



## OpenAPI

````yaml /openapi/jobs.json post /api/usajobs/events
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/usajobs/events:
    post:
      tags:
        - /usajobs
      summary: /usajobs/events
      description: >-
        Get one US federal hiring event from USAJOBS by its id. Returns the
        event title, URL, date and time with timezone, venue and address or
        online flag, registration website, full description, hosting
        organization, the hiring paths it is aimed at, and the related job
        announcements promoted at the event.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: The event does not exist or is no longer
        listed on USAJOBS
      operationId: __api_usajobs_events_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UsajobsEventsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UsajobsEvent'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UsajobsEventsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        event:
          type: string
      type: object
      required:
        - event
    UsajobsEvent:
      properties:
        '@type':
          type: string
          default: UsajobsEvent
        id:
          type: string
        event_title:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        date_display:
          anyOf:
            - type: string
            - type: 'null'
        time_display:
          anyOf:
            - type: string
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        is_online:
          anyOf:
            - type: boolean
            - type: 'null'
        website_url:
          anyOf:
            - type: string
            - type: 'null'
        host:
          anyOf:
            - type: string
            - type: 'null'
        hiring_paths:
          items:
            type: string
          type: array
          default: []
        related_jobs:
          items:
            $ref: '#/components/schemas/UsajobsEventRelatedJob'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    UsajobsEventRelatedJob:
      properties:
        '@type':
          type: string
          default: UsajobsEventRelatedJob
        id:
          type: string
        job_title:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````