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

# Get Bundle Descriptor

GET https://api.athenaintel.com/api/v0/bundles/{bundle_key}/descriptor

Read what a bundle's track serves in this workspace: the workspace's id, the asset and type behind each member key (and an object type's registry id where the caller may already read it through the records APIs), and each slot's kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value's words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can't open is left out. Every refusal is 404, the same answer a key that names nothing gets.

Reference: https://docs.athenaintel.com/api-reference/bundles/get-descriptor

## Authentication

- `X-API-KEY` header (required) — API Key authentication via header

## Request

### Path parameters

- `bundle_key` (string, required) — The bundle's permanent key.

### Query parameters

- `workspace_id` (string, optional, nullable) — The workspace to read in. Optional for a caller with one workspace, and for a credential bound to one; a caller in several names it. The caller must be a member.
- `track` (string, optional, nullable) — A track's key (production, pilot…): answer what it serves. Production when omitted. The caller must be on the track.

## Response

### 200

Successful Response

- `bundle_key` (string, required) — The bundle's permanent key.
- `descriptor` (integer, required) — The shape's version: 1.
- `members` (map from string to BundleDescriptorMemberOut, required) — By member key: each member the caller may open. A member the caller can't open is absent.
- `slots` (map from string to BundleDescriptorSlotOut, required) — By slot key: every slot the served version declares.
- `track` (string, required) — The track the answer read, e.g. production.
- `version` (string, required) — The version the track serves, major.minor.
- `workspace_id` (string, required) — The bundle's workspace, one the caller is a member of.

## Errors

### 400 Bad Request Error

workspace_required: no workspace named, and the caller belongs to several. Decided before any bundle is read.

- `any`

### 404 Not Found Error

No deployment by that name here, or the caller can't open it: the two read alike.

- `detail` (DescriptorNotFoundDetailOut, required)

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### BundleDescriptorMemberOut

One member of a deployment the caller may open. ``registry_id`` is in the answer only when there is one to give: both routes write a member without it with no such key, never ``null``.

- `asset_id` (string, required) — This place's asset for the member.
- `type` (string, required) — The member asset's type, e.g. collab_agent.
- `registry_id` (string, optional, nullable) — An object type's registry id (src_...), the id the records APIs take, only where the caller can already read it: a caller the ontology platform admits (platform staff, an enrolled workspace), for a type whose registration is active. Absent otherwise, and for every other member type.

### BundleDescriptorSlotOut

One slot of a deployment: what it asks for and where the track stands. ``value`` is in the answer only when there is one to give: both routes write an entry without it with no such key, never ``null`` (``response_model_exclude_none`` on the public route, the same dump on Marathon's).

- `kind` (string, required) — What the slot asks for: phone_number, mailbox, database, connection, computer_image, place, lakehouse_namespace, outside_source, text, secret or slack_install.
- `state` (string, required) — filled (the track's fill is in force), not_used (the track doesn't use it) or waiting (nothing in force).
- `value` (string, optional, nullable) — What the track filled the slot with, only for a slot the bundle declares for the app, while its fill is in force, to a caller who can open an application the bundle lists: a text value's words, or the asset id a computer_image, place or lakehouse_namespace fill names, where the caller can open that asset. Absent otherwise, and always for a connection, an outside_source, a secret, a slack_install, a phone_number, a mailbox and a database.

### DescriptorNotFoundDetailOut

- `code` (string, required) — descriptor_not_found
- `message` (string, required) — No deployment by that name here.

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `ctx` (ValidationErrorCtx, optional)
- `input` (any, optional)

### ValidationErrorLocItems

- string
- integer

### ValidationErrorCtx

## Examples

**Response**

```json
{
  "bundle_key": "support-desk",
  "descriptor": 1,
  "members": {
    "firm": {
      "asset_id": "asset_7c2e9d40-5b1a-4f3e-8d6c-0a9b8e7f6d51",
      "type": "ontology_object_type",
      "registry_id": "src_g7k2m9p4q8r1s5t3v6"
    },
    "support_agent": {
      "asset_id": "asset_1f9b6b2e-4c1d-4a0a-9c1e-2b7d1a0f3c44",
      "type": "collab_agent"
    }
  },
  "slots": {
    "greeting": {
      "kind": "text",
      "state": "filled",
      "value": "Welcome to the support desk."
    },
    "knowledge_base": {
      "kind": "connection",
      "state": "filled"
    }
  },
  "track": "production",
  "version": "1.8",
  "workspace_id": "workspace_9ec609ea-ee1a-48b6-9e61-d73d9dfbb651"
}
```

**SDK Code**

```python
import requests

url = "https://api.athenaintel.com/api/v0/bundles/bundle_key/descriptor"

headers = {"X-API-KEY": "<apiKey>"}

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

print(response.json())
```

```javascript
const url = 'https://api.athenaintel.com/api/v0/bundles/bundle_key/descriptor';
const options = {method: 'GET', headers: {'X-API-KEY': '<apiKey>'}};

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://api.athenaintel.com/api/v0/bundles/bundle_key/descriptor"

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

	req.Header.Add("X-API-KEY", "<apiKey>")

	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://api.athenaintel.com/api/v0/bundles/bundle_key/descriptor")

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

request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<apiKey>'

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://api.athenaintel.com/api/v0/bundles/bundle_key/descriptor")
  .header("X-API-KEY", "<apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.athenaintel.com/api/v0/bundles/bundle_key/descriptor', [
  'headers' => [
    'X-API-KEY' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.athenaintel.com/api/v0/bundles/bundle_key/descriptor");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-KEY", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-KEY": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.athenaintel.com/api/v0/bundles/bundle_key/descriptor")! 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()
```