> This page is for Postman API Docs.

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.txt.

# Get all SDKs

GET https://api.postman.com/sdks

Lists all SDKs the authenticated user has access to.

**Note:**

- Use the `sdkIds` parameter to get the generation build status of multiple SDKs in a single call.
- When you pass the `sdkIds` value, other filters are ignored and the response contains only the accessible SDKs from this list.


Reference: https://learning.postman.com/api-docs/api-reference/sd-ks/get-sdks

## Authentication

- `x-api-key` header (required) — API Key authentication via header

## Servers

- `https://api.postman.com` (https://api.postman.com, default)
- `https://api.eu.postman.com` (https://api.eu.postman.com)

## Request

### Query parameters

- `workspaceId` (string, required) — The ID of the workspace that contains the SDK.
- `sdkIds` (list of string, optional) — A comma-separated list of SDK IDs to return in the response. If you pass this query parameter with other filters, the other filters are ignored.
- `buildStatus` (enum, optional) — Filter results by build status.
  - Allowed values: `queued`, `in_progress`, `succeeded`, `failed`
- `language` (enum, optional) — Filter results by SDK language.
  - Allowed values: `typescript`, `python`, `go`, `java`, `csharp`, `ruby`, `php`, `kotlin`, `rust`, `cli`
- `sourceId` (string, optional) — Filter results by the originating Postman Collection or specification ID.
- `cursor` (string, optional) — The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter.
- `limit` (integer, optional, default: 25) — The maximum number of rows to return in the response, up to a maximum value of 25. Any value greater than 25 returns a 400 Bad Request response.

## Response

### 200

Successful Response

- `SDKs_getSdks_Response_200`
  - sdkList: sdkList

## Errors

### 400 Bad Request Error

Invalid Query

- `type` (string, required) — The [URI reference](https://www.rfc-editor.org/rfc/rfc3986) that identifies the type of problem.
- `title` (string, required) — A short summary of the problem.
- `status` (integer, required) — The error's HTTP status code.
- `detail` (string, optional) — Information about the error.
- `instance` (string, optional) — A URI reference that identifies the specific occurrence of the problem.
- `requestId` (string, optional) — The request's ID.

### 401 Unauthorized Error

Unauthorized

- `GetSdksRequestUnauthorizedError`
  - Error (Type, Title, Detail, Status): commonErrorTypeTitleDetailStatus
  - Error (Name, Message): commonErrorNameMessage

### 403 Forbidden Error

Forbidden

- `GetSdksRequestForbiddenError`
  - Error (Type, Title, Detail, Status): commonErrorTypeTitleDetailStatus
  - Error (Name, Message): commonErrorNameMessage

### 429 Too Many Requests Error

Too Many Requests

- `type` (CommonErrorTypeTitleDetailStatusType, optional) — The type of error.
- `title` (string, optional) — A short summary of the problem.
- `detail` (string, optional) — Information about the error.
- `status` (integer, optional) — The error's HTTP status code.

### 500 Internal Server Error

Internal Server Error

- `GetSdksRequestInternalServerError`
  - Error (Type, Title, Detail): commonErrorTypeTitleDetail
  - Error (Type, Title, Detail, Status): commonErrorTypeTitleDetailStatus
  - Error (Name, Message): commonErrorNameMessage

## Types

### sdkList

- `data` (list of sdk, required) — A list of SDKs.
- `meta` (metaNextCursorTotal, required) — The response's meta information for paginated results.

### commonErrorTypeTitleDetailStatus

- `type` (CommonErrorTypeTitleDetailStatusType, optional) — The type of error.
- `title` (string, optional) — A short summary of the problem.
- `detail` (string, optional) — Information about the error.
- `status` (integer, optional) — The error's HTTP status code.

### commonErrorNameMessage

- `error` (CommonErrorNameMessageError, optional) — Information about the error.

### CommonErrorTypeTitleDetailStatusType

The type of error.

- string
- string

### commonErrorTypeTitleDetail

- `type` (string, optional) — The type of error.
- `title` (string, optional) — A short summary of the problem.
- `detail` (CommonErrorTypeTitleDetailDetail, optional) — Information about the error.

### sdk

Information about the generated SDK.

- `id` (string, required) — The SDK's ID.
- `language` (enum, required) — The target output language for the generated SDK.
  - Allowed values: `typescript`, `python`, `go`, `java`, `csharp`, `ruby`, `php`, `kotlin`, `rust`, `cli`
- `source` (sdkSource, required) — The collection or specification that the SDK is generated from.
- `workspaceId` (string, required) — The ID of the workspace that owns the SDK, derived from the source entity.
- `buildStatus` (enum, required) — The SDK's build lifecycle: - `queued` — Accepted but not yet started. - `in_progress` — The SDK generation is running and in progress. - `succeeded` — The archive is built and available for download. - `failed` — The SDK generation failed. For information, check the `error` response.
  - Allowed values: `queued`, `in_progress`, `succeeded`, `failed`
- `createdAt` (datetime, required) — The date and time at which the SDK was created.
- `updatedAt` (datetime, required) — The date and time at which the SDK was last updated.
- `version` (string, optional) — The generated SDK's semantic version ID. This value is automatically assigned by the release/changelog pipeline.
- `error` (sdkErrorBuildStatusFailure, optional) — Information about the SDK build's status when `buildStatus` is `failed`.
- `pullRequest` (sdkPullRequest, optional) — If the SDK was shipped (or proposed for shipping) through a Git connection, this is a compact representation of the pull request that shipped it. Otherwise, this returns a `null` value.

### metaNextCursorTotal

The response's meta information for paginated results.

- `nextCursor` (string, optional, nullable) — The pagination cursor that points to the next record in the results set.
- `total` (integer, optional) — The number of records found.

### CommonErrorNameMessageError

Information about the error.

- `name` (string, optional) — The error name.
- `message` (string, optional) — The error message.

### CommonErrorTypeTitleDetailDetail

Information about the error.

- string
- map from string to any

### sdkSource

The collection or specification that the SDK is generated from.

- `type` (enum, required) — The type of Postman element.
  - Allowed values: `collection`, `spec`
- `id` (string, required) — The ID of the Postman Collection or specification in Postman.

### sdkErrorBuildStatusFailure

Information about the SDK build's status when `buildStatus` is `failed`.

- `code` (string, required) — The build failure's error code.
- `message` (string, required) — Information about the build failure.

### sdkPullRequest

If the SDK was shipped (or proposed for shipping) through a Git connection, this is a compact representation of the pull request that shipped it. Otherwise, this returns a `null` value.

- `sdkId` (string, required) — The SDK's ID.
- `status` (enum, required) — The lifecycle status of a pull request.
  - Allowed values: `open`, `merged`, `closed`
- `url` (string, required) — The pull request's URL.

## Examples

### A Page of SDKs

**Response**

```json
{
  "data": [
    {
      "buildStatus": "succeeded",
      "createdAt": "2026-06-02T14:11:09Z",
      "id": "5b1c8e4a-9d10-4f7a-91d0-2c2f3a4b5c6d",
      "language": "typescript",
      "source": {
        "id": "12ece9e1-2abf-4edc-8e34-de66e74114d2",
        "type": "collection"
      },
      "updatedAt": "2026-06-02T14:12:55Z",
      "version": "1.0.0",
      "workspaceId": "7f6c5d4e-3b2a-1234-9876-abcdef012345"
    }
  ],
  "meta": {
    "nextCursor": null,
    "total": 1
  }
}
```

**SDK Code**

```python A Page of SDKs
import requests

url = "https://api.postman.com/sdks"

querystring = {"buildStatus":"succeeded","cursor":"RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk=","language":"typescript","limit":"10","sdkIds":"9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b,4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e","sourceId":"12ece9e1-2abf-4edc-8e34-de66e74114d2","workspaceId":"1f0df51a-8658-4ee8-a2a1-d2567dfa09a9"}

headers = {"x-api-key": "<apiKey>"}

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

print(response.json())
```

```javascript A Page of SDKs
const url = 'https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9';
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 A Page of SDKs
package main

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

func main() {

	url := "https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9"

	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 A Page of SDKs
require 'uri'
require 'net/http'

url = URI("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")

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 A Page of SDKs
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php A Page of SDKs
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp A Page of SDKs
using RestSharp;

var client = new RestClient("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift A Page of SDKs
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")! 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()
```

### Filter by Failed Builds

**Response**

```json
{
  "data": [
    {
      "buildStatus": "failed",
      "createdAt": "2026-06-02T14:11:09Z",
      "error": {
        "code": "spec_validation_failed",
        "message": "OpenAPI spec failed validation: missing operationId on GET /foo"
      },
      "id": "7e3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c",
      "language": "python",
      "source": {
        "id": "9a7b6c5d-4e3f-2a1b-0c9d-8e7f6a5b4c3d",
        "type": "spec"
      },
      "updatedAt": "2026-06-02T14:11:42Z",
      "workspaceId": "7f6c5d4e-3b2a-1234-9876-abcdef012345"
    }
  ],
  "meta": {
    "nextCursor": null,
    "total": 1
  }
}
```

**SDK Code**

```python Filter by Failed Builds
import requests

url = "https://api.postman.com/sdks"

querystring = {"buildStatus":"succeeded","cursor":"RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk=","language":"typescript","limit":"10","sdkIds":"9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b,4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e","sourceId":"12ece9e1-2abf-4edc-8e34-de66e74114d2","workspaceId":"1f0df51a-8658-4ee8-a2a1-d2567dfa09a9"}

headers = {"x-api-key": "<apiKey>"}

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

print(response.json())
```

```javascript Filter by Failed Builds
const url = 'https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9';
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 Filter by Failed Builds
package main

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

func main() {

	url := "https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9"

	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 Filter by Failed Builds
require 'uri'
require 'net/http'

url = URI("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")

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 Filter by Failed Builds
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php Filter by Failed Builds
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp Filter by Failed Builds
using RestSharp;

var client = new RestClient("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Filter by Failed Builds
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")! 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()
```

### Filter by Language

**Response**

```json
{
  "data": [
    {
      "buildStatus": "in_progress",
      "createdAt": "2026-06-02T15:02:00Z",
      "id": "8f4b2c3d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
      "language": "go",
      "source": {
        "id": "12ece9e1-2abf-4edc-8e34-de66e74114d2",
        "type": "collection"
      },
      "updatedAt": "2026-06-02T15:02:05Z",
      "workspaceId": "7f6c5d4e-3b2a-1234-9876-abcdef012345"
    }
  ],
  "meta": {
    "nextCursor": null,
    "total": 1
  }
}
```

**SDK Code**

```python Filter by Language
import requests

url = "https://api.postman.com/sdks"

querystring = {"buildStatus":"succeeded","cursor":"RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk=","language":"typescript","limit":"10","sdkIds":"9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b,4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e","sourceId":"12ece9e1-2abf-4edc-8e34-de66e74114d2","workspaceId":"1f0df51a-8658-4ee8-a2a1-d2567dfa09a9"}

headers = {"x-api-key": "<apiKey>"}

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

print(response.json())
```

```javascript Filter by Language
const url = 'https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9';
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 Filter by Language
package main

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

func main() {

	url := "https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9"

	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 Filter by Language
require 'uri'
require 'net/http'

url = URI("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")

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 Filter by Language
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")
  .header("x-api-key", "<apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp Filter by Language
using RestSharp;

var client = new RestClient("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Filter by Language
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")! 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()
```

### Batch-poll by ID

**Response**

```json
{
  "data": [
    {
      "buildStatus": "succeeded",
      "createdAt": "2026-06-02T14:11:09Z",
      "id": "5b1c8e4a-9d10-4f7a-91d0-2c2f3a4b5c6d",
      "language": "typescript",
      "source": {
        "id": "12ece9e1-2abf-4edc-8e34-de66e74114d2",
        "type": "collection"
      },
      "updatedAt": "2026-06-02T14:12:55Z",
      "version": "1.0.0",
      "workspaceId": "7f6c5d4e-3b2a-1234-9876-abcdef012345"
    },
    {
      "buildStatus": "queued",
      "createdAt": "2026-06-02T16:00:00Z",
      "id": "6c2d9f5b-ae21-5089-a2e1-3d3f4b5c6d7e",
      "language": "java",
      "source": {
        "id": "12ece9e1-2abf-4edc-8e34-de66e74114d2",
        "type": "collection"
      },
      "updatedAt": "2026-06-02T16:00:00Z",
      "workspaceId": "7f6c5d4e-3b2a-1234-9876-abcdef012345"
    }
  ],
  "meta": {
    "nextCursor": null,
    "total": 2
  }
}
```

**SDK Code**

```python Batch-poll by ID
import requests

url = "https://api.postman.com/sdks"

querystring = {"buildStatus":"succeeded","cursor":"RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk=","language":"typescript","limit":"10","sdkIds":"9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b,4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e","sourceId":"12ece9e1-2abf-4edc-8e34-de66e74114d2","workspaceId":"1f0df51a-8658-4ee8-a2a1-d2567dfa09a9"}

headers = {"x-api-key": "<apiKey>"}

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

print(response.json())
```

```javascript Batch-poll by ID
const url = 'https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9';
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 Batch-poll by ID
package main

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

func main() {

	url := "https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9"

	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 Batch-poll by ID
require 'uri'
require 'net/http'

url = URI("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")

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 Batch-poll by ID
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php Batch-poll by ID
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp Batch-poll by ID
using RestSharp;

var client = new RestClient("https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Batch-poll by ID
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.postman.com/sdks?buildStatus=succeeded&cursor=RnJpIEZlYiAyNCAyMDIzIDEzOjI0OjA5IEdNVCswMDAwIChDb29yZGluYXRlZCBVbml2ZXJzYWwgVGltZSk%3D&language=typescript&limit=10&sdkIds=9c4e7d1a-2b3c-4f5e-8a9b-1c2d3e4f5a6b%2C4b8c2d3e-5f6a-7b8c-9d0e-1f2a3b4c5d6e&sourceId=12ece9e1-2abf-4edc-8e34-de66e74114d2&workspaceId=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9")! 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()
```