GET
/
v0
/
logs
/
fields
curl --request GET \
  --url 'https://api.unify.ai/v0/logs/fields?project=eval-project' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "field1": {
        "data_type": "string",
        "field_type": "entry",
        "mutable": "true",
        "created_at": "2025-02-14T10:00:00Z",
        "artifacts": ""
    }
}

Returns a dictionary of field names and their types for the specified project. Each field entry contains:

  • data_type: The data type of the field (int, str, etc)
  • field_type: Whether it’s an entry, param, or derived_entry
  • mutable: Whether the field can be modified
  • created_at: When the field was first created
  • artifacts: For derived entries, contains the equation

Authorizations

Authorization
string
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

project
string
required

Name of the project to get fields and their types for.

curl --request GET \
  --url 'https://api.unify.ai/v0/logs/fields?project=eval-project' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "field1": {
        "data_type": "string",
        "field_type": "entry",
        "mutable": "true",
        "created_at": "2025-02-14T10:00:00Z",
        "artifacts": ""
    }
}