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

# Resume policy

> Reactivate a paused policy’s published version using its current revision. Requires policies:write.



## OpenAPI

````yaml /openapi.json post /v1/organization/policies/{policy_id}/resume
openapi: 3.1.0
info:
  title: Limitless API
  version: 0.2.0
  description: >-
    Customer inference, scoped organization administration, policies, and health
    probes for Limitless at https://trylimitless.ai. This deployment uses
    sandbox credits and test payments but sends real inference requests. Model
    features depend on the active backend. The OpenAI SDK base URL is
    https://trylimitless.ai/v1.
servers:
  - url: https://trylimitless.ai
    description: >-
      Limitless sandbox API: test payments and real inference. OpenAI SDK
      clients add /v1 to this origin.
security:
  - customerKey: []
tags:
  - name: Health
  - name: Models
  - name: Inference
  - name: Credits
  - name: Organization
  - name: Projects
  - name: Project keys
  - name: Admin keys
  - name: Spending limits
  - name: Reports
  - name: Policies
paths:
  /v1/organization/policies/{policy_id}/resume:
    post:
      tags:
        - Policies
      summary: Resume policy
      description: >-
        Reactivate a paused policy’s published version using its current
        revision. Requires policies:write.
      operationId: resumePolicy
      parameters:
        - name: policy_id
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 200
          description: Resource identifier from a previous API response.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdministrationPolicyActionRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdministrationPolicy'
          description: Successful response.
          headers:
            X-Request-ID:
              description: Gateway request ID for Activity and support.
              schema:
                type: string
                format: uuid
        '400':
          $ref: '#/components/responses/Api400'
        '401':
          $ref: '#/components/responses/Api401'
        '403':
          $ref: '#/components/responses/Api403'
        '404':
          $ref: '#/components/responses/Api404'
        '409':
          $ref: '#/components/responses/Api409'
        '413':
          $ref: '#/components/responses/Api413'
        '422':
          $ref: '#/components/responses/Api422'
        '429':
          $ref: '#/components/responses/Api429'
        '500':
          $ref: '#/components/responses/Api500'
        '503':
          $ref: '#/components/responses/Api503'
      security:
        - adminKey: []
components:
  schemas:
    AdministrationPolicyActionRequest:
      properties:
        revision:
          type: integer
          maximum: 2147483647
          minimum: 1
          description: Current edit revision. Mutations must send the latest value.
      additionalProperties: false
      type: object
      required:
        - revision
    AdministrationPolicy:
      properties:
        id:
          type: string
        object:
          type: string
          const: organization.policy
          default: organization.policy
        name:
          type: string
        description:
          type: string
        state:
          type: string
          enum:
            - draft
            - monitoring
            - enforcing
            - paused
        revision:
          type: integer
          description: Current edit revision. Mutations must send the latest value.
        current_version:
          anyOf:
            - type: integer
            - type: 'null'
          description: Active published version number, or null before first publication.
        has_unpublished_changes:
          type: boolean
        created_at:
          type: integer
        updated_at:
          type: integer
        draft:
          $ref: '#/components/schemas/AdministrationPolicyDraft'
        published:
          anyOf:
            - $ref: '#/components/schemas/AdministrationPolicyVersion'
            - type: 'null'
      type: object
      required:
        - id
        - name
        - description
        - state
        - revision
        - has_unpublished_changes
        - created_at
        - updated_at
        - draft
    AdministrationPolicyDraft:
      properties:
        rule:
          type: string
          description: A yes-or-no question ending with ?.
        direction:
          type: string
          enum:
            - request
            - response
            - both
        mode:
          type: string
          enum:
            - monitoring
            - enforcing
        scope:
          type: string
          enum:
            - organization
            - projects
            - unattached
        project_ids:
          items:
            type: string
          type: array
        match_threshold_basis_points:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            Optional match threshold from 1 to 9,999; null restores the backend
            default.
        base_version:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - rule
        - direction
        - mode
        - scope
        - project_ids
    AdministrationPolicyVersion:
      properties:
        id:
          type: string
        object:
          type: string
          const: organization.policy.version
          default: organization.policy.version
        version:
          type: integer
        direction:
          type: string
          enum:
            - request
            - response
            - both
        mode:
          type: string
          enum:
            - monitoring
            - enforcing
        scope:
          type: string
          enum:
            - organization
            - projects
            - unattached
        project_ids:
          items:
            type: string
          type: array
        match_threshold_basis_points:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            Optional match threshold from 1 to 9,999; null restores the backend
            default.
        published_at:
          type: integer
        current:
          type: boolean
        rule:
          type: string
          description: A yes-or-no question ending with ?.
      type: object
      required:
        - id
        - version
        - direction
        - mode
        - scope
        - project_ids
        - published_at
        - current
        - rule
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - error
    ErrorDetail:
      properties:
        code:
          type: string
        message:
          type: string
        type:
          type: string
          description: Error category; policy failures use policy_error.
        param:
          anyOf:
            - type: string
            - type: 'null'
        request_id:
          type: string
        doc_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - code
        - message
        - type
  responses:
    Api400:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Request validation failed.
      headers:
        X-Request-ID:
          description: Gateway request ID for Activity and support.
          schema:
            type: string
            format: uuid
    Api401:
      headers:
        X-Request-ID:
          description: Gateway request ID for Activity and support.
          schema:
            type: string
            format: uuid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Missing or invalid credential.
    Api403:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Credential scope or policy denied this operation.
      headers:
        X-Request-ID:
          description: Gateway request ID for Activity and support.
          schema:
            type: string
            format: uuid
    Api404:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Resource or model not found in the caller’s organization.
      headers:
        X-Request-ID:
          description: Gateway request ID for Activity and support.
          schema:
            type: string
            format: uuid
    Api409:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Revision, state or idempotency conflict.
      headers:
        X-Request-ID:
          description: Gateway request ID for Activity and support.
          schema:
            type: string
            format: uuid
    Api413:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: JSON body exceeds the gateway size limit.
      headers:
        X-Request-ID:
          description: Gateway request ID for Activity and support.
          schema:
            type: string
            format: uuid
    Api422:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Provider request validation failed.
      headers:
        X-Request-ID:
          description: Gateway request ID for Activity and support.
          schema:
            type: string
            format: uuid
    Api429:
      headers:
        X-Request-ID:
          description: Gateway request ID for Activity and support.
          schema:
            type: string
            format: uuid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Request rate or concurrency exceeded.
    Api500:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Unexpected gateway failure.
      headers:
        X-Request-ID:
          description: Gateway request ID for Activity and support.
          schema:
            type: string
            format: uuid
    Api503:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: A required service or configuration is unavailable.
      headers:
        X-Request-ID:
          description: Gateway request ID for Activity and support.
          schema:
            type: string
            format: uuid
  securitySchemes:
    customerKey:
      type: http
      scheme: bearer
      bearerFormat: lk_...
      description: >-
        Project customer key. Requires the permission for the requested
        endpoint.
    adminKey:
      type: http
      scheme: bearer
      bearerFormat: lka_...
      description: >-
        Organization Admin API key with an appropriate scope. Customer keys
        cannot call organization routes.

````

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