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

# Get this week's AI provider request attempts



## OpenAPI

````yaml /spec.json get /ai/usage
openapi: 3.1.1
info:
  title: Reactive Resume
  version: 6.0.10
  description: >-
    Reactive Resume API. Mutations do not support Idempotency-Key. Do not
    automatically retry POST, PUT, PATCH or DELETE requests after a timeout:
    first read the resource to determine whether the operation succeeded.
    Existing enum values and response shapes are retained for compatibility.
  license:
    name: MIT
    url: https://github.com/reactive-resume/reactive-resume/blob/main/LICENSE
  contact:
    name: Amruth Pillai
    email: amruth@rxresu.me
    url: https://amruthpillai.com
servers:
  - url: https://rxresu.me/api/openapi
security:
  - apiKey: []
  - bearerAuth: []
  - cookieAuth: []
externalDocs:
  url: https://docs.rxresu.me
  description: Reactive Resume Documentation
paths:
  /ai/usage:
    get:
      tags:
        - AI
      summary: Get this week's AI provider request attempts
      operationId: getWeeklyAiUsage
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  start:
                    type: string
                    format: date-time
                    x-native-type: date
                  end:
                    type: string
                    format: date-time
                    x-native-type: date
                  timezone:
                    type: string
                  requests:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  groups:
                    type: array
                    items:
                      type: object
                      properties:
                        action:
                          enum:
                            - provider-test
                            - import-pdf
                            - import-docx
                            - writing-review
                            - improve
                            - parse-posting
                            - autofill-posting
                            - match-score
                            - tailor-resume
                            - draft-message
                            - draft-letter
                            - role-suggestions
                            - fit
                            - briefing
                            - practice
                            - debrief
                            - reply
                            - answer
                            - assistant
                            - career-chat
                            - transcription
                            - speech
                          type: string
                        providerId:
                          type: string
                        label:
                          type: string
                        provider:
                          type: string
                        model:
                          type: string
                        requests:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                      required:
                        - action
                        - providerId
                        - label
                        - provider
                        - model
                        - requests
                required:
                  - start
                  - end
                  - timezone
                  - requests
                  - groups
        default:
          description: >-
            Structured API error. See status and code; do not branch on message
            text.
          content:
            application/json:
              schema:
                type: object
                required:
                  - defined
                  - code
                  - status
                  - message
                properties:
                  defined:
                    type: boolean
                  code:
                    type: string
                  status:
                    type: integer
                  message:
                    type: string
                  data: {}
      security:
        - apiKey: []
        - bearerAuth: []
        - cookieAuth: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: >-
            curl "https://rxresu.me/api/openapi/ai/usage" --header "x-api-key:
            <api-key>"
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header
      description: The API key to authenticate requests.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: An OAuth access token issued by this instance for its API/MCP resource.
    cookieAuth:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: >-
        Browser session (secure deployments use the __Secure- prefix). Cookie
        requests must originate from this instance.

````

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