List Objects of a Type
Endpoint
GET /apiops/projects/{projectName}/export-import/{type}/objects/
Authentication
Requires a Personal API Access Token.
Header
Authorization: Bearer YOUR_TOKEN
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer {token} | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| type | string | Yes | Export/import type, case-insensitive. See List Supported Types |
Query Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| filter | string | No | — | Returns only the objects whose name contains this text |
Response
Success Response (200 OK)
{
"status": "SUCCESS",
"resultList": [
{"name": "openai-prod"},
{"name": "anthropic-prod"}
],
"resultCount": 2
}
For a type that covers several kinds of object, each entry also carries its kind:
{
"status": "SUCCESS",
"resultList": [
{"name": "apinizer", "kind": "CERTIFICATE"},
{"name": "apinizer", "kind": "KEY_STORE"},
{"name": "signing-jwk", "kind": "JWK"}
],
"resultCount": 3
}
Response Fields
| Field | Type | Description |
|---|---|---|
| name | string | The value to place in the names list of the export call |
| kind | string | Which entity this object is. Present only for the multi-kind types (CERTIFICATE, API_CREATOR, IDENTITY_SERVICE) |
Error Response (400 Bad Request)
{
"status": "FAILURE",
"resultMessage": "Unknown export/import type (LLM_PROVIDERS)! Supported types: API_PROXY, PROXY_GROUP, API_CREATOR, ..."
}
Common Causes
- The
typepath variable is not one of the supported types - Project does not exist or user does not have access
Error Response (401 Unauthorized)
{
"status": "FAILURE",
"resultMessage": "Token is not valid!"
}
cURL Example
Example 1: List LLM Providers
curl -X GET \
"https://demo.apinizer.com/apiops/projects/MyProject/export-import/LLM_PROVIDER/objects/" \
-H "Authorization: Bearer YOUR_TOKEN"
Example 2: Filter by Name
curl -X GET \
"https://demo.apinizer.com/apiops/projects/MyProject/export-import/GLOBAL_POLICY/objects/?filter=throttling" \
-H "Authorization: Bearer YOUR_TOKEN"
Example 3: See the Kinds Behind the Certificate Type
curl -X GET \
"https://demo.apinizer.com/apiops/projects/MyProject/export-import/CERTIFICATE/objects/" \
-H "Authorization: Bearer YOUR_TOKEN"
Notes and Warnings
- This is the discovery step of an export: the
namevalues returned here are exactly what Export Objects expects in itsnameslist. - Duplicate names are visible here: if the same name appears twice with the same kind, that name cannot address either object and the export will refuse it. Rename one of them.
- Duplicate names across kinds are addressable: when the same name appears with two different kinds, pass the
kindfield in the export call to select one. - Built-in objects are included: types that ship with built-in entries (AI model definitions, privacy patterns and similar) list those entries too.
Permissions
- User must have read access to the type's asset category in the project, or project-wide access
Related Documentation
- Export / Import API - Overview and shared concepts
- Export Objects - Export the objects listed here