---
title: "Get an answer"
method: GET
path: "/v1/answers/{answerId}"
tags: ["answers"]
---

# Get an answer

`GET /v1/answers/{answerId}`

## Request

- Base URL: `https://api.olostep.com`
- URL: `https://api.olostep.com/v1/answers/{answerId}`
- Auth: HTTP bearer

Retrieve a previously created answer by id.

## Path parameters

- `answerId` string, required

## Response `200`

Default Response

- object: An answer resource.
  - `id` string, required
  - `object` string, required
  - `created` number, required
  - `task` string, required
  - `metadata` object, nullable
  - `result` object
    - `json_content` string, nullable
    - `json_hosted_url` string, nullable
    - `sources` string[]

## Other responses

- `401`: Default Response
- `402`: Default Response
- `404`: Default Response
- `502`: Default Response

---

[API](https://skmtc.dev/olostep/apis/olostep-api.md) · [All operations](https://skmtc.dev/olostep/apis/olostep-api/llms.txt) · [OpenAPI document](https://skmtc.dev/olostep/apis/olostep-api/revisions/13c766ab100c?raw)
