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

# Get apiv2organizations asset generations 1



## OpenAPI

````yaml https://api.osiro.com/doc get /api/v2/organizations/{orgId}/asset-generations/{id}
openapi: 3.0.0
info:
  title: osiro API
  version: 2.0.0
servers: []
security: []
tags:
  - name: Funnel
    description: Public funnel rendering, submission, MFA, and analytics.
  - name: Booking
    description: A lead's cancel and reschedule of their booking, via the manage link.
  - name: Training
    description: Org-scoped sales-training catalogs, sessions, and call records.
  - name: Attribution
    description: Cross-domain PostHog identity handoff for the marketing site.
  - name: Billing
    description: Org-scoped checkouts, plans, trials and the Stripe billing portal.
  - name: Leads
    description: Org-scoped lead reads and actions.
  - name: Ad copy
    description: Org-scoped ad guidelines and Meta ad copy generation.
paths:
  /api/v2/organizations/{orgId}/asset-generations/{id}:
    get:
      tags:
        - Asset generations
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: orgId
          in: path
        - schema:
            type: string
            format: uuid
          required: true
          name: id
          in: path
      responses:
        '200':
          description: The asset generation, with the new asset once it is done
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetGenerationJob'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    AssetGenerationJob:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - queued
            - running
            - done
            - failed
        type:
          type: string
          enum:
            - image
        prompt:
          type: string
        size:
          type: object
          properties:
            width:
              type: integer
            height:
              type: integer
          required:
            - width
            - height
        model:
          type: string
        quality:
          type: string
        error:
          type: string
          nullable: true
        createdAt:
          type: string
        finishedAt:
          type: string
          nullable: true
        asset:
          type: object
          properties:
            id:
              type: string
              format: uuid
            imageUrl:
              type: string
          required:
            - id
            - imageUrl
      required:
        - id
        - status
        - type
        - prompt
        - size
        - model
        - quality
        - error
        - createdAt
        - finishedAt
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
      required:
        - error

````

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