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

# Sign Content URL

> Refresh a signed URL for stored content.



## OpenAPI

````yaml POST /orgs/{org_id}/content/sign
openapi: 3.1.0
info:
  title: Timbal Platform API
  description: Public API documentation for the Timbal platform
  license:
    name: ''
  version: 2.0.0
servers:
  - url: https://api.timbal.ai
    description: Production
  - url: https://api.dev.timbal.ai
    description: Development
security: []
tags:
  - name: ace
    description: Action Control Engine (ACE) operations
  - name: analytics
    description: Project analytics
  - name: billing
    description: Subscriptions, usage, and payment-related operations
  - name: content
    description: Re-sign stored content URLs
  - name: files
    description: File operations
  - name: iam
    description: IAM — actions, roles, users, and authorization introspection
  - name: k2
    description: Knowledge Bases v2 operations
  - name: orgs
    description: Organization operations
  - name: projects
    description: Project operations
  - name: runs
    description: Execution operations
  - name: templates
    description: Public project template catalog
  - name: users
    description: Authenticated user profile
paths:
  /orgs/{org_id}/content/sign:
    post:
      tags:
        - content
      description: Refresh a signed URL for stored content.
      operationId: sign
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignContentRequest'
        required: true
      responses:
        '200':
          description: Freshly-signed content URL
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignContentResponse'
        '400':
          description: Malformed request body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
        - bearer_auth: []
components:
  schemas:
    SignContentRequest:
      type: object
      description: Request to mint a fresh CDN URL for a stored content object.
      required:
        - url
      properties:
        url:
          type: string
          description: >-
            A content URL previously returned by the API (signed or unsigned),
            or a

            bare object key. The server resolves it back to a known object it
            owns,

            re-checks your access, and mints a fresh URL — useful when a cached

            signed URL has expired and you want a new one without re-fetching
            the

            whole parent resource.
    SignContentResponse:
      type: object
      description: A freshly-minted CDN URL pair for a stored content object.
      required:
        - url
      properties:
        signed_url:
          type:
            - string
            - 'null'
          description: >-
            CloudFront signed URL for private content. Omitted when the object
            is

            public or signing is unavailable.
        url:
          type: string
          description: >-
            Legacy unsigned CDN URL. Populated for backwards compatibility;
            prefer

            `signed_url` when present.
    ErrorMessage:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Machine-readable error code (e.g. `ALREADY_EXISTS`, `BAD_REQUEST`).
        message:
          type: string
          description: Human-readable description.
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: >-
        Timbal API key. Obtain your API key from the Timbal platform settings.
        See [Authentication](/api-reference/authentication) for more
        information.

````