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

# Preview what a benchmark definition resolves to today (constituents, sources, staleness) without saving it



## OpenAPI

````yaml /openapi.json post /benchmarks/resolve
openapi: 3.1.0
info:
  title: Abacus Labs
  description: Portfolio analysis and decision API for AI agents. Read /agent.md first.
  version: 1.0.0
servers:
  - url: https://api.abacuslabs.ai/v1
    description: Abacus Labs API
security:
  - bearer: []
tags:
  - name: Onboarding
  - name: Analyze
  - name: Proposals
  - name: Trade checks
  - name: Commits
  - name: Accounts
paths:
  /benchmarks/resolve:
    post:
      tags:
        - Onboarding
      summary: >-
        Preview what a benchmark definition resolves to today (constituents,
        sources, staleness) without saving it
      operationId: resolve_benchmark_v1_benchmarks_resolve_post
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ResolveBody:
      properties:
        benchmark:
          anyOf:
            - type: string
            - additionalProperties: true
              type: object
          title: Benchmark
      type: object
      required:
        - benchmark
      title: ResolveBody
    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:
    bearer:
      type: http
      scheme: bearer
      description: >-
        An API key: abacus_sk_test_... (sandbox, from POST /v1/keys) or
        abacus_sk_live_... (from https://app.abacuslabs.ai)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.