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

# Get organizations record

GET https://app.defdex.io/api/v1/datasets/organizations/{record_id}

Read an exact record_id returned by this collection. Requires data:read. ID survives builds; values can change.

Reference: https://docs.defdex.io/api-reference/organizations-and-agencies/get-organizations-record

## Authentication

- `Authorization` header (bearer token, required) — Create a scoped key at https://app.defdex.io/developer/keys. Keep it private.

## Request

### Path parameters

- `record_id` (string, required) — Exact returned record_id, encoded as one URL segment.

## Response

### 200

Success

- `data` (OrganizationsRecord, required)
- `build_id` (string, required)

## Errors

### 400 Bad Request Error

Invalid query, typed filter, cursor or query exceeds the database budget. Narrow exact filters.

- `error` (string, required)

### 401 Unauthorized Error

Missing, invalid or revoked key.

- `error` (string, required)

### 403 Forbidden Error

Key lacks the required scope.

- `error` (string, required)

### 404 Not Found Error

Unknown dataset, record or account-owned proposal.

- `error` (string, required)

### 409 Conflict Error

Build changed during a read, a build-scoped cursor expired, or an idempotency key conflicts.

- `error` (string, required)

### 429 Too Many Requests Error

Account request limit or correction submission limit reached.

- `error` (string, required)

### 503 Service Unavailable Error

Service temporarily unavailable.

- `error` (string, required)

## Types

### OrganizationsRecord

- `record_id` (string, required) — Opaque lookup ID. Pass unchanged; do not substitute attributes.id or slug.
- `attributes` (OrganizationsAttributes, required)

### OrganizationsAttributes

- `id` (string, optional, nullable)
- `entity_type` (string, optional, nullable) — Published enum value. Treat new values as forward-compatible; see the resource guide for commonly used values.
- `slug` (string, optional, nullable)
- `name` (string, optional, nullable)
- `legal_name` (string, optional, nullable)
- `aliases` (list of any, optional, nullable) — Published array; preserve its JSON values. Exact filters do not provide array containment.
- `type` (string, optional, nullable) — Published enum value. Treat new values as forward-compatible; see the resource guide for commonly used values.
- `sub_type` (string, optional, nullable) — Published enum value. Treat new values as forward-compatible; see the resource guide for commonly used values.
- `tags` (list of any, optional, nullable) — Published array; preserve its JSON values. Exact filters do not provide array containment.
- `covered` (boolean, optional, nullable)
- `referenced` (boolean, optional, nullable)
- `coverage` (string, optional, nullable) — Published enum value. Treat new values as forward-compatible; see the resource guide for commonly used values.
- `parent_id` (string, optional, nullable)
- `ultimate_parent_id` (string, optional, nullable)
- `navigation_parent_id` (string, optional, nullable)
- `agency_code` (string, optional, nullable)
- `office_code` (string, optional, nullable)
- `agency_level` (string, optional, nullable)
- `description` (string, optional, nullable)
- `hq_city` (string, optional, nullable)
- `hq_region` (string, optional, nullable)
- `country` (string, optional, nullable)
- `website` (string, optional, nullable)
- `logo_url` (string, optional, nullable)
- `linkedin_url` (string, optional, nullable)
- `x_url` (string, optional, nullable)
- `founded_year` (integer, optional, nullable)
- `ticker` (string, optional, nullable)
- `employee_range` (string, optional, nullable)
- `acquired_on` (date, optional, nullable)
- `acquired_by_id` (string, optional, nullable)
- `updated_at` (datetime, optional, nullable)
- `defense_relevance` (string, optional, nullable)

## Examples

**Response**

```json
{
  "data": {
    "record_id": "string",
    "attributes": {
      "id": "string",
      "entity_type": "string",
      "slug": "string",
      "name": "string",
      "legal_name": "string",
      "aliases": [
        null
      ],
      "type": "string",
      "sub_type": "string",
      "tags": [
        null
      ],
      "covered": true,
      "referenced": true,
      "coverage": "string",
      "parent_id": "string",
      "ultimate_parent_id": "string",
      "navigation_parent_id": "string",
      "agency_code": "string",
      "office_code": "string",
      "agency_level": "string",
      "description": "string",
      "hq_city": "string",
      "hq_region": "string",
      "country": "string",
      "website": "string",
      "logo_url": "string",
      "linkedin_url": "string",
      "x_url": "string",
      "founded_year": 1,
      "ticker": "string",
      "employee_range": "string",
      "acquired_on": "2023-01-15",
      "acquired_by_id": "string",
      "updated_at": "2024-01-15T09:30:00Z",
      "defense_relevance": "string"
    }
  },
  "build_id": "string"
}
```

**SDK Code**

```python
import requests

url = "https://app.defdex.io/api/v1/datasets/organizations/record_id"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://app.defdex.io/api/v1/datasets/organizations/record_id';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

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

```go
package main

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

func main() {

	url := "https://app.defdex.io/api/v1/datasets/organizations/record_id"

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

	req.Header.Add("Authorization", "Bearer <token>")

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

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

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

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://app.defdex.io/api/v1/datasets/organizations/record_id")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

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

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://app.defdex.io/api/v1/datasets/organizations/record_id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://app.defdex.io/api/v1/datasets/organizations/record_id', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://app.defdex.io/api/v1/datasets/organizations/record_id");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://app.defdex.io/api/v1/datasets/organizations/record_id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

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()
```