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

# Get Artifact

> Get a specific artifact's content.



## OpenAPI

````yaml /api-reference/openapi.json get /api/artifacts/{agent_name}/{user_id}/{session_id}/{filename}
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.1.2
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/artifacts/{agent_name}/{user_id}/{session_id}/{filename}:
    get:
      tags:
        - artifacts
      summary: Get Artifact
      description: Get a specific artifact's content.
      operationId: >-
        get_artifact_api_artifacts__agent_name___user_id___session_id___filename__get
      parameters:
        - name: agent_name
          in: path
          required: true
          schema:
            type: string
            title: Agent Name
        - name: user_id
          in: path
          required: true
          schema:
            type: string
            title: User Id
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            title: Session Id
        - name: filename
          in: path
          required: true
          schema:
            type: string
            title: Filename
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [Get Artifact Version Metadata](/api-reference/get-artifact-version-metadata.md)
- [Artifacts](/guides/artifacts.md)
- [List Artifacts](/api-reference/artifacts/list-artifacts.md)
- [List Artifact Versions](/api-reference/list-artifact-versions.md)
- [List Artifact Names](/api-reference/list-artifact-names.md)
