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

# Get Single Metric

> Retrieve details of a specific custom metric by its ID

## Overview

Fetches detailed information about a single custom metric, including its configuration and metadata.

## Use Cases

* **Metric Detail View**: Display full configuration of a specific metric
* **Validation**: Verify metric settings before updating
* **Reference**: Get metric details for integration purposes

## Example Response

```json theme={null}
{
  "success": true,
  "metric": {
    "id": "metric_abc123",
    "key": "customer_satisfaction",
    "description": "Customer satisfaction rating on a scale of 1-10",
    "type": "number",
    "isSystem": false,
    "createdAtUNIX": 1640000000,
    "updatedAtUNIX": 1640100000
  }
}
```

<Warning>
  Make sure the metric ID exists. A 404 error will be returned if the metric is not found.
</Warning>


## OpenAPI

````yaml GET /agents/{agentId}/custom-metrics/{metricId}
openapi: 3.0.3
info:
  title: Convocore OpenAPI
  description: Full API reference for Convocore
  version: 1.0.4
servers:
  - url: https://eu-gcp-api.vg-stuff.com/v3
    description: EU Node.js API server
  - url: https://na-gcp-api.vg-stuff.com/v3
    description: NA Node.js API server
security: []
paths:
  /agents/{agentId}/custom-metrics/{metricId}:
    get:
      tags:
        - Custom Metrics
      summary: Get a specific custom metric
      description: Retrieves details of a specific custom metric by its ID.
      operationId: customMetrics-getMetric
      parameters:
        - name: agentId
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the agent
        - name: metricId
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the metric
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  metric:
                    type: object
                    properties:
                      id:
                        type: string
                      key:
                        type: string
                      description:
                        type: string
                      isSystem:
                        type: boolean
                      type:
                        type: string
                        enum:
                          - number
                          - boolean
                          - enum
                          - string
                      options:
                        type: array
                        items:
                          type: string
                      createdAtUNIX:
                        type: number
                      updatedAtUNIX:
                        type: number
                    required:
                      - id
                      - key
                      - description
                      - type
                    additionalProperties: false
                required:
                  - success
                  - metric
                additionalProperties: false
        default:
          $ref: '#/components/responses/error'
      security:
        - Authorization: []
components:
  responses:
    error:
      description: Error response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              code:
                type: string
              issues:
                type: array
                items:
                  type: object
                  properties:
                    message:
                      type: string
                  required:
                    - message
                  additionalProperties: false
            required:
              - message
              - code
            additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````