---
title: "Get artifact"
method: GET
path: "/disk/{disk_id}/artifact"
tags: ["artifact"]
---

# Get artifact

`GET /disk/{disk_id}/artifact`

Get artifact information by path and filename. Optionally include a presigned URL for downloading and parsed file content.

## Path parameters

- `disk_id` string, uuid, required

## Query parameters

- `file_path` string, required
- `with_public_url` boolean
- `with_content` boolean
- `expire` integer

## Response `200`

OK

- object
  - `code` integer
  - `error` string
  - `msg` string
  - `data` HandlerGetArtifactResp
    - `artifact` ModelArtifact
      - `created_at` string
      - `disk_id` string
      - `filename` string
      - `meta` object
      - `path` string
      - `updated_at` string
    - `content` FileparserFileContent
      - `raw` string — Raw text content
      - `type` string — "text", "json", "csv", "code"
    - `public_url` string

---

[API](https://skmtc.dev/memodb-io/apis/acontext-api.md) · [All operations](https://skmtc.dev/memodb-io/apis/acontext-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/memodb-io/acontext-api/revisions/c8775333b1ed/schema)
