> This page is for version Prod (default).
> For other versions, use one of these documentation indexes:
> - Prod (default): https://docs.chrt.com/prod/llms.txt
> - Staging: https://docs.chrt.com/staging/llms.txt
> - Dev: https://docs.chrt.com/dev/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.chrt.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.chrt.com/_mcp/server.

# Get S3 object metadata

GET https://api.chrt.com/shipping/task_artifacts/s3_object/s3_object_metadata/v1/{task_artifact_s3_object_metadata_id}

Retrieves the metadata for a task artifact S3 object, including blurhash for placeholder loading. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | () -> (TaskArtifactS3ObjectMetadata1)

Reference: https://docs.chrt.com/api-reference/api-reference/shipping/task-artifacts/s-3-object/get-s-3-object-metadata-v-1

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://api.chrt.com` (Production, default)
- `https://api.dev.chrt.com` (Development)
- `https://api.staging.chrt.com` (Staging)
- `https://localhost:8000` (Local)

## Request

### Path parameters

- `task_artifact_s3_object_metadata_id` (string, required)

## Response

### 200

Successful Response

- `_id` (string, required)
- `schema_version` (integer, required)
- `task_artifact_id` (string, required)
- `uploaded_at_timestamp` (datetime, required)
- `uploaded_by_org_id` (string, required) — Must be a string starting with `org_`
- `uploaded_by_user_id` (string, required) — Must be a string starting with `user_`
- `ai_generated_description` (string, optional)
- `ai_image_description` (AIImageDescription, optional) — Structured, factual description of a task-artifact image produced by an LLM. Stored on `TaskArtifactS3ObjectMetadata1.ai_image_description` so downstream consumers (Q&A, search, audit) can answer questions about the artifact without re-sending the image. `model` records which LLM produced the description; `provider` is derived from `model` so the two can never disagree.
- `blurhash` (string, optional)
- `content_type` (string, optional) — MIME type of the uploaded file (e.g., 'image/jpeg', 'application/pdf')
- `filename` (string, optional) — Original filename of the uploaded file
- `s3_key_prefix` ("shipping/task_artifact_s3_object_metadata", optional)
- `user_generated_description` (string, optional)

## Errors

### 422 S3object Get S3object Metadata V1request Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### AIImageDescription

Structured, factual description of a task-artifact image produced by an LLM. Stored on `TaskArtifactS3ObjectMetadata1.ai_image_description` so downstream consumers (Q&A, search, audit) can answer questions about the artifact without re-sending the image. `model` records which LLM produced the description; `provider` is derived from `model` so the two can never disagree.

- `cargo_identity_assessment` (string, required)
- `completion_evidence` (string, required)
- `dispute_defensibility` (string, required)
- `location_description` (string, required)
- `location_identifiers` (list of string, required)
- `model` (StoredModel, required)
- `package_appearance` (string, required)
- `package_types` (list of string, required)
- `proof_notes` (list of string, required)
- `readable_package_text` (list of string, required)
- `summary` (string, required)
- `package_count` (integer, optional)
- `schema_version` (integer, optional, default: 1)
- `searchable_facts` (list of string, optional)
- `unresolved_questions` (list of string, optional)

### ValidationError

- `loc` (list of LocationItem, required)
- `msg` (string, required)
- `type` (string, required)
- `ctx` (map from string to any, optional)
- `input` (any, optional)

### StoredModel

- Model: enum
  - Allowed values: `gpt-6-astra`, `gpt-6.1-sol`, `gpt-6-luna`, `claude-opus-5-5`, `claude-sonnet-5`, `claude-haiku-4-5`
- Archived Model: enum
  - Allowed values: `gpt-5.5`, `gpt-5.4`, `gpt-5.4-mini`, `claude-opus-4-7`, `claude-sonnet-4-6`, `claude-haiku-4-5`, `gpt-5.6-terra`, `gpt-5.6-luna`, `gpt-5.6-sol`, `gpt-6-sol`

### LocationItem

- string
- integer

## Examples

**Response**

```json
{
  "_id": "_id",
  "schema_version": 1,
  "task_artifact_id": "task_artifact_id",
  "uploaded_at_timestamp": "2024-01-15T09:30:00Z",
  "uploaded_by_org_id": "uploaded_by_org_id",
  "uploaded_by_user_id": "uploaded_by_user_id",
  "ai_generated_description": "ai_generated_description",
  "ai_image_description": {
    "cargo_identity_assessment": "cargo_identity_assessment",
    "completion_evidence": "completion_evidence",
    "dispute_defensibility": "dispute_defensibility",
    "location_description": "location_description",
    "location_identifiers": [
      "location_identifiers"
    ],
    "model": "gpt-6-astra",
    "package_appearance": "package_appearance",
    "package_types": [
      "package_types"
    ],
    "proof_notes": [
      "proof_notes"
    ],
    "readable_package_text": [
      "readable_package_text"
    ],
    "summary": "summary",
    "package_count": 1,
    "schema_version": 1,
    "searchable_facts": [
      "searchable_facts"
    ],
    "unresolved_questions": [
      "unresolved_questions"
    ]
  },
  "blurhash": "blurhash",
  "content_type": "content_type",
  "filename": "filename",
  "s3_key_prefix": "shipping/task_artifact_s3_object_metadata",
  "user_generated_description": "user_generated_description"
}
```

**SDK Code**

```python
import requests

url = "https://api.chrt.com/shipping/task_artifacts/s3_object/s3_object_metadata/v1/task_artifact_s3_object_metadata_id"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.chrt.com/shipping/task_artifacts/s3_object/s3_object_metadata/v1/task_artifact_s3_object_metadata_id';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.chrt.com/shipping/task_artifacts/s3_object/s3_object_metadata/v1/task_artifact_s3_object_metadata_id"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.chrt.com/shipping/task_artifacts/s3_object/s3_object_metadata/v1/task_artifact_s3_object_metadata_id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.chrt.com/shipping/task_artifacts/s3_object/s3_object_metadata/v1/task_artifact_s3_object_metadata_id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.chrt.com/shipping/task_artifacts/s3_object/s3_object_metadata/v1/task_artifact_s3_object_metadata_id', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.chrt.com/shipping/task_artifacts/s3_object/s3_object_metadata/v1/task_artifact_s3_object_metadata_id");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.chrt.com/shipping/task_artifacts/s3_object/s3_object_metadata/v1/task_artifact_s3_object_metadata_id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```