> ## 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/search

> Search upcoming US federal hiring and recruitment events listed on USAJOBS. Filter by event type (hiring or recruitment event, informational session, resume writing or interview training), online versus in-person, the hiring paths the event is aimed at, and the hosting agency. Each event carries its id, title, URL, date and time with timezone, venue and address (or online flag), registration website, full description, hosting organization, hiring-path badges and the related job announcements promoted at the event.

**Price:** 5 credits per 10 results



## OpenAPI

````yaml /openapi/jobs.json post /api/usajobs/events/search
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/search:
    post:
      tags:
        - /usajobs
      summary: /usajobs/events/search
      description: >-
        Search upcoming US federal hiring and recruitment events listed on
        USAJOBS. Filter by event type (hiring or recruitment event,
        informational session, resume writing or interview training), online
        versus in-person, the hiring paths the event is aimed at, and the
        hosting agency. Each event carries its id, title, URL, date and time
        with timezone, venue and address (or online flag), registration website,
        full description, hosting organization, hiring-path badges and the
        related job announcements promoted at the event.


        **Price:** 5 credits per 10 results
      operationId: __api_usajobs_events_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UsajobsEventsSearchPayload'
      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:
    UsajobsEventsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        event_type:
          anyOf:
            - items:
                $ref: '#/components/schemas/UsajobsEventType'
              type: array
            - type: 'null'
        is_online:
          anyOf:
            - type: boolean
            - type: 'null'
        hiring_path:
          anyOf:
            - items:
                $ref: '#/components/schemas/UsajobsHiringPath'
              type: array
            - type: 'null'
        agency:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - count
    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
    UsajobsEventType:
      type: string
      enum:
        - '7'
        - '8'
        - '9'
    UsajobsHiringPath:
      type: string
      enum:
        - public
        - fed-competitive
        - fed-excepted
        - fed-internal-search
        - fed-transition
        - land
        - vet
        - mspouse
        - nguard
        - student
        - graduates
        - ses
        - disability
        - overseas
        - native
        - peace
        - special-authorities
    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

````