> For the complete documentation index, see [llms.txt](https://emotiv.gitbook.io/cortex-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://emotiv.gitbook.io/cortex-api/records/getrecordinfos.md).

# getRecordInfos

This method returns a list of records, selected by their id.

## Parameters

| Name        | Type               | Required | Description                                                               |
| ----------- | ------------------ | -------- | ------------------------------------------------------------------------- |
| cortexToken | `string`           | yes      | A token returned by [authorize](/cortex-api/authentication/authorize.md). |
| recordIds   | `array of strings` | yes      | A list of records id.                                                     |

## Result

The result is an array of [record objects](/cortex-api/records/record-object.md), including the markers of each record.

## Examples

{% tabs %}
{% tab title="Request" %}

```javascript
{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getRecordInfos",
    "params": {
        "cortexToken": "xxx",
        "recordIds": ["db01c15e-d916-4a7b-9f1d-16295fd1c643"]
    }
}
```

{% endtab %}

{% tab title="Response" %}

```javascript
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": [{
        "applicationId": "com.jon.snow.winterfell-app",
        "applicationVersion": "1.0",
        "description": "",
        "endDatetime": "2019-06-06T15:57:58.472229+07:00",
        "experimentId": 0,
        "licenseId": "xxx",
        "licenseScope": [
            "pm",
            "eeg"
        ],
        "markers": [
            {
                "endDatetime": "2019-06-06T15:57:33.523627+07:00",
                "extras": {},
                "label": "test1",
                "port": "Cortex Example",
                "startDatetime": "2019-06-06T15:57:33.523627+07:00",
                "type": "instance",
                "uuid": "3e8d3a26-f4bf-486c-8ece-6efb8b739a51",
                "value": 41
            },
            {
                "endDatetime": "2019-06-06T15:57:49.530743+07:00",
                "extras": {},
                "label": "test2",
                "port": "Cortex Example",
                "startDatetime": "2019-06-06T15:57:41.529661+07:00",
                "type": "interval",
                "uuid": "26fccfd8-e487-4623-910a-1ba8591fcdcf",
                "value": 42
            }
        ],
        "ownerId": "76c3468a-d9c0-428d-81b4-bdac5d63860e",
        "startDatetime": "2019-06-06T15:57:28.596410+07:00",
        "subject": {
            "subjectName": "Hodor"
        },
        "tags": [],
        "title": "Cortex Examples C++",
        "uuid": "db01c15e-d916-4a7b-9f1d-16295fd1c643"
    }]
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://emotiv.gitbook.io/cortex-api/records/getrecordinfos.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
