> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-eu-instance.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Spend Remedy Status

> Read the caller-visible decision, durable effect, and current blocking scope.
 This never exposes another requester's terms or shared spending amounts.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples get /api/v1/tasks/{task_id}/spend-remedy-status
openapi: 3.1.0
info:
  description: The C1 API is a HTTP API for managing C1 resources.
  title: C1 API
  version: 0.1.0-alpha
servers:
  - description: The C1 API server for the current tenant.
    url: https://{tenantDomain}.conductor.one
    variables:
      tenantDomain:
        default: example
        description: The domain of the tenant to use for this request.
security:
  - bearerAuth: []
    oauth: []
paths:
  /api/v1/tasks/{task_id}/spend-remedy-status:
    get:
      tags:
        - Task
      summary: Get Spend Remedy Status
      description: >-
        Read the caller-visible decision, durable effect, and current blocking
        scope.
         This never exposes another requester's terms or shared spending amounts.
      operationId: c1.api.task.v1.TaskService.GetSpendRemedyStatus
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            description: The taskId field.
            type: string
        - in: query
          name: app_id
          schema:
            description: The appId field.
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/c1.api.task.v1.TaskServiceGetSpendRemedyStatusResponse
          description: Successful response
components:
  schemas:
    c1.api.task.v1.TaskServiceGetSpendRemedyStatusResponse:
      description: The TaskServiceGetSpendRemedyStatusResponse message.
      properties:
        status:
          oneOf:
            - $ref: '#/components/schemas/c1.api.task.v1.SpendRemedyStatus'
            - type: 'null'
      title: Task Service Get Spend Remedy Status Response
      type: object
      x-speakeasy-name-override: TaskServiceGetSpendRemedyStatusResponse
    c1.api.task.v1.SpendRemedyStatus:
      description: >-
        Requester-safe status contains no requested terms or shared financial
        controls.
      properties:
        appliedAt:
          format: date-time
          type:
            - string
            - 'null'
        blockingReason:
          description: The blockingReason field.
          enum:
            - SPEND_DENY_REASON_UNSPECIFIED
            - SPEND_DENY_REASON_TENANT_FROZEN
            - SPEND_DENY_REASON_SUSPENDED_BY_ADMIN
            - SPEND_DENY_REASON_APP_SUSPENDED
            - SPEND_DENY_REASON_APP_PAUSED_BY_YOU
            - SPEND_DENY_REASON_NO_SUPPLY
          type: string
          x-speakeasy-unknown-values: allow
        blockingScope:
          description: The blockingScope field.
          enum:
            - SPEND_SCOPE_KIND_UNSPECIFIED
            - SPEND_SCOPE_KIND_TENANT
            - SPEND_SCOPE_KIND_SUBJECT
            - SPEND_SCOPE_KIND_APP
            - SPEND_SCOPE_KIND_SUBJECT_APP
          type: string
          x-speakeasy-unknown-values: allow
        currentRequest:
          oneOf:
            - $ref: '#/components/schemas/c1.api.task.v1.SpendRemedyRef'
            - type: 'null'
        remedy:
          oneOf:
            - $ref: '#/components/schemas/c1.api.task.v1.SpendRemedyRef'
            - type: 'null'
        state:
          description: The state field.
          enum:
            - SPEND_REMEDY_STATUS_STATE_UNSPECIFIED
            - SPEND_REMEDY_STATUS_STATE_PENDING
            - SPEND_REMEDY_STATUS_STATE_REJECTED
            - SPEND_REMEDY_STATUS_STATE_CANCELLED
            - SPEND_REMEDY_STATUS_STATE_EXPIRED
            - SPEND_REMEDY_STATUS_STATE_APPROVED_AWAITING_FULFILLMENT
            - SPEND_REMEDY_STATUS_STATE_FULFILLMENT_FAILED
            - SPEND_REMEDY_STATUS_STATE_APPLIED_RETRY_REQUIRED
            - SPEND_REMEDY_STATUS_STATE_APPLIED_STILL_BLOCKED
            - SPEND_REMEDY_STATUS_STATE_STALE
            - SPEND_REMEDY_STATUS_STATE_UNAVAILABLE
          type: string
          x-speakeasy-unknown-values: allow
        unavailableReason:
          description: The unavailableReason field.
          type: string
      title: Spend Remedy Status
      type: object
      x-speakeasy-name-override: SpendRemedyStatus
    c1.api.task.v1.SpendRemedyRef:
      description: SpendRemedyRef identifies a request, not permission to spend.
      properties:
        blockId:
          description: The blockId field.
          type: string
        taskId:
          description: The taskId field.
          type: string
      title: Spend Remedy Ref
      type: object
      x-speakeasy-name-override: SpendRemedyRef
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    oauth:
      description: >-
        This API uses OAuth2 with the Client Credential flow.

        Client Credentials must be sent in the BODY, not the headers.

        For an example of how to implement this, refer to the
        [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187)
        function.
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: /auth/v1/token
      type: oauth2

````