---
updatedAt: 2025-09-02T07:17:19.000Z
agentTools:
  projectIndex: https://jamaibase.readme.io/llms.txt
---

# Get a specific row from a template table.

Permissions: None, publicly accessible.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "JamAI Base API",
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "version": "0.1.0",
    "x-logo": {
      "url": "https://www.jamaibase.com/favicon.svg"
    }
  },
  "servers": [
    {
      "url": "https://api.jamaibase.com"
    }
  ],
  "paths": {
    "/api/v2/templates/gen_tables/{table_type}/rows": {
      "get": {
        "tags": [
          "Templates"
        ],
        "summary": "Get a specific row from a template table.",
        "description": "Permissions: None, publicly accessible.",
        "operationId": "get_table_row_api_v2_templates_gen_tables__table_type__rows_get",
        "parameters": [
          {
            "name": "table_type",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/TableType",
              "description": "Table type."
            },
            "description": "Table type."
          },
          {
            "name": "table_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Table name.",
              "title": "Table Id"
            },
            "description": "Table name."
          },
          {
            "name": "row_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The ID of the specific row to fetch.",
              "title": "Row Id"
            },
            "description": "The ID of the specific row to fetch."
          },
          {
            "name": "columns",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ],
              "description": "A list of column names to include in the response. Default is to return all columns.",
              "title": "Columns"
            },
            "description": "A list of column names to include in the response. Default is to return all columns."
          },
          {
            "name": "float_decimals",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "description": "Number of decimals for float values. Defaults to 0 (no rounding).",
              "default": 0,
              "title": "Float Decimals"
            },
            "description": "Number of decimals for float values. Defaults to 0 (no rounding)."
          },
          {
            "name": "vec_decimals",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "Number of decimals for vectors. If its negative, exclude vector columns. Defaults to 0 (no rounding).",
              "default": 0,
              "title": "Vec Decimals"
            },
            "description": "Number of decimals for vectors. If its negative, exclude vector columns. Defaults to 0 (no rounding)."
          },
          {
            "name": "template_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Template ID.",
              "title": "Template Id"
            },
            "description": "Template ID."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Table Row Api V2 Templates Gen Tables  Table Type  Rows Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "TableType": {
        "type": "string",
        "enum": [
          "action",
          "knowledge",
          "chat"
        ],
        "title": "TableType"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    },
    "securitySchemes": {
      "Authentication": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "Authentication": []
    }
  ]
}
```