> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.odr.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.odr.io/_mcp/server.

# /dataset/record/{record_uuid}

GET https://dataset/record/c00710bb4560d99280ee6b86a5fd

Retrieves a single dataset record by its UUID.

**Authentication**

This request uses a pre-request script to automatically obtain a bearer token from `{{url}}/token` using the `{{apiuser}}` and `{{apipass}}` environment variables. The token is stored in `{{token}}` and used for authorization.

**Path Parameters**

| Parameter     | Type   | Required | Description                                                              |
| ------------- | ------ | -------- | ------------------------------------------------------------------------ |
| `record_uuid` | string | Yes      | The UUID of the record to retrieve (e.g. `c00710bb4560d99280ee6b86a5fd`) |

**Headers**

| Key            | Value              |
| -------------- | ------------------ |
| `Content-Type` | `application/json` |

**Example Response (200 OK)**

```json
{
  "database_uuid": "ddc5e9ba834ad596cc31aebb1225",
  "internal_id": 781070,
  "record_name": "R260016",
  "record_uuid": "c00710bb4560d99280ee6b86a5fd",
  "template_uuid": "60231f230a3c7b73e0f0d1f1deea",
  "metadata_for_uuid": "",
  "_record_metadata": {
    "_create_date": "2026-04-04 00:48:02",
    "_update_date": "2026-04-04 00:50:50",
    "_create_auth": "Hexiong Yang",
    "_public_date": "2026-04-04 00:48:02"
  },
  "fields": [
    {
      "field_name": "Sample ID",
      "field_uuid": "b5973a5ac47ec4afd1db49e2b00f",
      "template_field_uuid": "3e2259d0039f2c5cc912b8f92681",
      "id": 7068,
      "value": 11429
    },
    {
      "field_name": "RRUFF ID",
      "field_uuid": "ee88404d73886150b59dd07cbb12",
      "template_field_uuid": "d0e7a8e1e42d8159008116130e86",
      "id": 7069,
      "value": "R260016"
    },
    {
      "field_name": "Sample Status",
      "field_uuid": "e4bd3c7024d12f5c80da99fffd63",
      "template_field_uuid": "040f8debf923926eef9b426521ad",
      "id": 7070,
      "values": [
        {
          "id": 7793,
          "template_radio_option_uuid": "6b40829ca6e77002513def5f7406",
          "name": "The identification of this mineral is not yet confirmed",
          "selected": 1
        }
      ]
    },
    {
      "field_name": "Sample Source",
      "field_uuid": "56b4777019c9a0f4e692586f0d87",
      "id": 7071,
      "value": "RRUFF"
    },
    {
      "field_name": "Sample Owned by",
      "field_uuid": "e2b22fc6abedceff7684aa6005ce",
      "id": 7073,
      "value": "RRUFF"
    },
    {
      "field_name": "Sample Description",
      "field_uuid": "e742f7288df2b103b29ebab58faa",
      "id": 7074,
      "value": "Colorless bladed crystals. A new mineral with the composition K2(Mo2O7)(H2O)."
    },
    {
      "field_name": "Sample Locality",
      "field_uuid": "9ad6f78291e867858e8c84b6fba4",
      "id": 7075,
      "value": "Freedom No. 2 mine, Marysvale District, Piute County, Utah, USA"
    }
  ],
  "records": []
}
```

**Response Fields**

| Field               | Type    | Description                                                                    |
| ------------------- | ------- | ------------------------------------------------------------------------------ |
| `database_uuid`     | string  | UUID of the parent database                                                    |
| `internal_id`       | integer | Internal numeric identifier for the record                                     |
| `record_name`       | string  | Human-readable name of the record                                              |
| `record_uuid`       | string  | Unique identifier for this record                                              |
| `template_uuid`     | string  | UUID of the template this record is based on                                   |
| `metadata_for_uuid` | string  | UUID of the record this record provides metadata for (empty if not applicable) |
| `_record_metadata`  | object  | Audit metadata including create/update dates and author                        |
| `fields`            | array   | List of field objects containing the record's data values                      |
| `records`           | array   | List of child records associated with this record                              |

Each object in `fields` contains:

| Field                 | Type             | Description                                                      |
| --------------------- | ---------------- | ---------------------------------------------------------------- |
| `field_name`          | string           | Human-readable name of the field                                 |
| `field_uuid`          | string           | Unique identifier for this field instance                        |
| `template_field_uuid` | string           | UUID of the template field definition                            |
| `id`                  | integer          | Internal numeric ID of the field                                 |
| `value`               | string \| number | The field's scalar value (present for text/number fields)        |
| `values`              | array            | The field's selected option(s) (present for radio/select fields) |
| `_field_metadata`     | object           | Audit metadata for the field                                     |

Reference: https://docs.odr.io/odr-search-api-v-4/dataset-record-record-uuid

## Response

### 200

OK

- `database_uuid` (string, required)
- `internal_id` (integer, required)
- `record_name` (string, required)
- `record_uuid` (string, required)
- `template_uuid` (string, required)
- `metadata_for_uuid` (string, required)
- `_record_metadata` (object, required)
  - `_create_date` (string, required)
  - `_update_date` (string, required)
  - `_create_auth` (string, required)
  - `_public_date` (string, required)
- `fields` (list of object, required)
  - `field_name` (string, required)
  - `field_uuid` (string, required)
  - `template_field_uuid` (string, required)
  - `id` (integer, required)
  - `_field_metadata` (object, required)
    - `_public_date` (string, required)
    - `_create_date` (string, required)
    - `_update_date` (string, required)
    - `_create_auth` (string, required)
  - `value` (integer, required)
- `records` (list of any, required)

## Examples

**Response**

```json
{
  "database_uuid": "ddc5e9ba834ad596cc31aebb1225",
  "internal_id": 781070,
  "record_name": "R260016",
  "record_uuid": "c00710bb4560d99280ee6b86a5fd",
  "template_uuid": "60231f230a3c7b73e0f0d1f1deea",
  "metadata_for_uuid": "",
  "_record_metadata": {
    "_create_date": "2026-04-04 00:48:02",
    "_update_date": "2026-04-04 00:50:50",
    "_create_auth": "Hexiong Yang",
    "_public_date": "2026-04-04 00:48:02"
  },
  "fields": [
    {
      "field_name": "Sample ID",
      "field_uuid": "b5973a5ac47ec4afd1db49e2b00f",
      "template_field_uuid": "3e2259d0039f2c5cc912b8f92681",
      "id": 7068,
      "_field_metadata": {
        "_public_date": "2024-02-07 16:30:03",
        "_create_date": "2026-04-04 00:48:02",
        "_update_date": "2026-04-04 00:48:02",
        "_create_auth": "Hexiong Yang"
      },
      "value": 11429
    },
    {
      "field_name": "RRUFF ID",
      "field_uuid": "ee88404d73886150b59dd07cbb12",
      "template_field_uuid": "d0e7a8e1e42d8159008116130e86",
      "id": 7069,
      "_field_metadata": {
        "_public_date": "2024-02-07 16:30:03",
        "_create_date": "2026-04-04 00:48:02",
        "_update_date": "2026-04-04 00:48:02",
        "_create_auth": "Hexiong Yang"
      },
      "value": 1
    },
    {
      "field_name": "Sample Status",
      "field_uuid": "e4bd3c7024d12f5c80da99fffd63",
      "template_field_uuid": "040f8debf923926eef9b426521ad",
      "id": 7070,
      "_field_metadata": {
        "_public_date": "string",
        "_create_date": "string",
        "_update_date": "string",
        "_create_auth": "string"
      },
      "value": 1
    },
    {
      "field_name": "Sample Source",
      "field_uuid": "56b4777019c9a0f4e692586f0d87",
      "template_field_uuid": "bc3190833be270253bbcb9a05515",
      "id": 7071,
      "_field_metadata": {
        "_public_date": "2024-02-07 16:30:03",
        "_create_date": "2026-04-04 00:48:02",
        "_update_date": "2026-04-04 00:48:02",
        "_create_auth": "Hexiong Yang"
      },
      "value": 1
    },
    {
      "field_name": "Sample Owned by",
      "field_uuid": "e2b22fc6abedceff7684aa6005ce",
      "template_field_uuid": "e2023d57291bc73f14bf5539b880",
      "id": 7073,
      "_field_metadata": {
        "_public_date": "2024-02-07 16:30:04",
        "_create_date": "2026-04-04 00:48:02",
        "_update_date": "2026-04-04 00:48:02",
        "_create_auth": "Hexiong Yang"
      },
      "value": 1
    },
    {
      "field_name": "Sample Description",
      "field_uuid": "e742f7288df2b103b29ebab58faa",
      "template_field_uuid": "52f39016c205f376373237b1d82a",
      "id": 7074,
      "_field_metadata": {
        "_public_date": "2024-02-07 16:30:04",
        "_create_date": "2026-04-04 00:49:56",
        "_update_date": "2026-04-04 00:50:50",
        "_create_auth": "Hexiong Yang"
      },
      "value": 1
    },
    {
      "field_name": "Sample Locality",
      "field_uuid": "9ad6f78291e867858e8c84b6fba4",
      "template_field_uuid": "1eb33d935bd18e9a71cc11a8218d",
      "id": 7075,
      "_field_metadata": {
        "_public_date": "2024-02-07 16:30:04",
        "_create_date": "2026-04-04 00:48:02",
        "_update_date": "2026-04-04 00:48:02",
        "_create_auth": "Hexiong Yang"
      },
      "value": 1
    }
  ],
  "records": []
}
```

**SDK Code**

```python /dataset/record/{record_uuid}_example
import requests

url = "https://https/dataset/record/c00710bb4560d99280ee6b86a5fd"

response = requests.get(url)

print(response.json())
```

```javascript /dataset/record/{record_uuid}_example
const url = 'https://https/dataset/record/c00710bb4560d99280ee6b86a5fd';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go /dataset/record/{record_uuid}_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://https/dataset/record/c00710bb4560d99280ee6b86a5fd"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby /dataset/record/{record_uuid}_example
require 'uri'
require 'net/http'

url = URI("https://https/dataset/record/c00710bb4560d99280ee6b86a5fd")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java /dataset/record/{record_uuid}_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://https/dataset/record/c00710bb4560d99280ee6b86a5fd")
  .asString();
```

```php /dataset/record/{record_uuid}_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://https/dataset/record/c00710bb4560d99280ee6b86a5fd');

echo $response->getBody();
```

```csharp /dataset/record/{record_uuid}_example
using RestSharp;

var client = new RestClient("https://https/dataset/record/c00710bb4560d99280ee6b86a5fd");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift /dataset/record/{record_uuid}_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://https/dataset/record/c00710bb4560d99280ee6b86a5fd")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```