---
title: "Datasource Details"
method: GET
path: "/api/v2/Datasources/{datasource}"
tags: ["Datasources"]
---

# Datasource Details

`GET /api/v2/Datasources/{datasource}`

Get details about a single datasource by invoking the following endpoint:

  > `GET https://YourAccount.lacework.net/api/v2/Datasources/{datasource}`

  Replace `{datasource}` with the `name` value returned for a datasource in the response when invoking the following endpoint: `GET /api/v2/Datasources`.

## Path parameters

- `datasource` string, required

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Response `200`

No Error

- object
  - `data` DatasourcesResponseSchema
    - `name` string, required — Name of the datasource
    - `description` string, required — Description of the datasource
    - `resultSchema` object[] — The datasource's schema that can be used to write queries for the datasource.
      - `name` string — Name of the column.
      - `dataType` string — The data type of this column.
      - `description` string — Description of the data that this column holds.
    - `sourceRelationships` object[] — The relationship between this datasource and other datasources.
      - `from` string — The table that is the source of the relationship. For example, MACHINES.
      - `to` string — The table that is the destination of the relationship. For example, DNS_REQUESTS.
      - `name` string — Name of this relationship. For example, Machines-to-DNS-Requests.
      - `description` string — Description of the relationship. For example, DNS requests made from this machine.
      - `toCardinality` string — The cardinality of values from a single source value.

## Other responses

- `4XX` — Client Error
- `5XX` — Internal Server Error

---

[API](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation.md) · [All operations](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lacework/forticnapp-api-2-0-documentation/revisions/7015f76895f2/schema)
