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

# 获取答案

> 此端点通过其 ID 检索先前完成的答案。



## OpenAPI

````yaml zh/openapi/answers.json GET /v1/answers/{answer_id}
openapi: 3.0.3
info:
  title: Answers API
  version: 1.0.0
servers:
  - url: https://api.olostep.com
security: []
paths:
  /v1/answers/{answer_id}:
    get:
      summary: 获取答案
      description: 此端点通过其 ID 检索先前完成的答案。
      parameters:
        - name: answer_id
          in: path
          required: true
          description: 要检索的答案的唯一标识符。
          schema:
            type: string
      responses:
        '200':
          description: 成功响应并返回答案对象。
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  object:
                    type: string
                  created:
                    type: integer
                  metadata:
                    type: object
                  task:
                    type: string
                  result:
                    type: object
                    properties:
                      json_content:
                        type: string
                      json_hosted_url:
                        type: string
                      sources:
                        type: array
                        items:
                          type: string
        '402':
          description: 无效的 API 密钥
        '404':
          description: 未找到答案
        '500':
          description: 内部服务器错误
      security:
        - Authorization: []
components:
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Bearer 认证头格式为 Bearer <token>，其中 <token> 是你的认证令牌。

````