> This page is for version 2025-09-18 (default).
> For other versions, use one of these documentation indexes:
> - 2025-09-18 (default): https://apidocs.polytomic.com/2025-09-18/llms.txt
> - 2024-02-08: https://apidocs.polytomic.com/2024-02-08/llms.txt
> - 2023-04-25: https://apidocs.polytomic.com/2023-04-25/llms.txt
> - 2022-12-12: https://apidocs.polytomic.com/2022-12-12/llms.txt
> - 2021-05-23: https://apidocs.polytomic.com/2021-05-23/llms.txt

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

# List Harbor Action Configuration Operations

GET https://app.polytomic.com/api/harbors/{harbor_id}/action-configuration/connections/{connection_id}/schemas/{schema_id}/operations

Lists operations and configurable fields for an eligible Harbor action schema.

You must be an Organization administrator with permission to edit the Harbor
and query the source Connection. Use a writable API credential, not a Harbor
profile credential. Read-only keys are denied because this endpoint requires
Harbor edit permission. Discovery does not require the Harbor Actions entitlement.

The Connection must populate the Harbor through a non-deleted Bulk Sync or Model
Sync targeting its backing Connection. This request returns operation metadata,
not provider records, and does not execute an action.

For a mutating operation, choose input field IDs. For a read-only operation,
choose output field IDs and at least one lookup field ID. Required input fields
must be included in the grant.

Reference: https://apidocs.polytomic.com/api-reference/harbors/list-action-configuration-operations

## Authentication

- `Authorization` header (bearer token, required) — Bearer user API key
- `Authorization` header (basic auth, required) — Basic organization-scoped API key

## Request

### Path parameters

- `harbor_id` (string, required) — Unique identifier of the Harbor.
- `connection_id` (string, required) — Source Connection whose action grants you want to manage.
- `schema_id` (string, required) — Exact action schema ID returned by schema discovery.

## Response

### 200

OK

- `data` (list of HarborActionConfigurationOperationResponse, optional, nullable)

## Errors

### 403 Forbidden Error

Forbidden

- `key` (string, optional)
- `message` (string, optional)
- `metadata` (map from string to any, optional)
- `status` (integer, optional)

### 404 Not Found Error

Not Found

- `key` (string, optional)
- `message` (string, optional)
- `metadata` (map from string to any, optional)
- `status` (integer, optional)

### 409 Conflict Error

Conflict

- `key` (string, optional)
- `message` (string, optional)
- `metadata` (map from string to any, optional)
- `status` (integer, optional)

### 422 Unprocessable Entity Error

Unprocessable Entity

- `key` (string, optional)
- `message` (string, optional)
- `metadata` (map from string to any, optional)
- `status` (integer, optional)

### 500 Internal Server Error

Internal Server Error

- `key` (string, optional)
- `message` (string, optional)
- `metadata` (map from string to any, optional)
- `status` (integer, optional)

### 503 Service Unavailable Error

Service Unavailable

- `key` (string, optional)
- `message` (string, optional)
- `metadata` (map from string to any, optional)
- `status` (integer, optional)

## Types

### HarborActionConfigurationOperationResponse

- `description` (string, optional) — Operation description.
- `effect` (enum, optional) — Whether the operation changes records or only reads them.
  - Allowed values: `mutating`, `read_only`
- `idempotency` (HarborActionConfigurationIdempotencyResponse, optional)
- `input_fields` (list of HarborActionConfigurationFieldResponse, optional, nullable) — Fields you can grant for a mutating operation.
- `lookup_fields` (list of HarborActionConfigurationFieldResponse, optional, nullable) — Lookup fields supported by this operation.
- `name` (string, optional) — Operation name.
- `operation_id` (string, optional) — Stable operation ID.
- `output_fields` (list of HarborActionConfigurationFieldResponse, optional, nullable) — Fields you can grant for a read-only operation.
- `schema_id` (string, optional) — Action schema ID.

### HarborActionConfigurationIdempotencyResponse

- `retention_ns` (long, optional) — Provider deduplication window in nanoseconds.
- `scope` (string, optional) — Provider idempotency scope.

### HarborActionConfigurationFieldResponse

- `description` (string, optional) — Field description.
- `id` (string, optional) — Stable configurable field ID.
- `max_bytes` (integer, optional) — Maximum input size in bytes, when constrained.
- `name` (string, optional) — Field name.
- `non_blank` (boolean, optional) — Whether a nonblank value is required.
- `nullable` (boolean, optional) — Whether this input field accepts null.
- `pattern` (string, optional) — Validation pattern, when constrained.
- `required` (boolean, optional) — Whether the operation requires this input field.
- `type` (string, optional) — Scalar field type.

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "data": [
    {
      "description": "Creates a new customer record in the CRM system.",
      "effect": "mutating",
      "idempotency": {
        "retention_ns": 300000000000,
        "scope": "customer_creation"
      },
      "input_fields": [
        {
          "description": "Unique identifier for the customer.",
          "id": "customer_id",
          "max_bytes": 36,
          "name": "Customer ID",
          "non_blank": true,
          "nullable": false,
          "pattern": "^[a-f0-9\\-]{36}$",
          "required": true,
          "type": "string"
        },
        {
          "description": "Customer's email address.",
          "id": "email",
          "max_bytes": 254,
          "name": "Email",
          "non_blank": true,
          "nullable": false,
          "pattern": "^[\\w\\.-]+@[\\w\\.-]+\\.\\w{2,}$",
          "required": true,
          "type": "string"
        }
      ],
      "lookup_fields": [
        {
          "description": "Customer's unique identifier used for lookups.",
          "id": "customer_id",
          "max_bytes": 36,
          "name": "Customer ID",
          "non_blank": true,
          "nullable": false,
          "pattern": "^[a-f0-9\\-]{36}$",
          "required": true,
          "type": "string"
        }
      ],
      "name": "CreateCustomer",
      "operation_id": "create_customer_v1",
      "output_fields": [
        {
          "description": "Confirmation message after customer creation.",
          "id": "confirmation_message",
          "max_bytes": 256,
          "name": "Confirmation Message",
          "non_blank": true,
          "nullable": false,
          "pattern": null,
          "required": true,
          "type": "string"
        },
        {
          "description": "Timestamp when the customer was created.",
          "id": "created_at",
          "max_bytes": null,
          "name": "Created At",
          "non_blank": true,
          "nullable": false,
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
          "required": true,
          "type": "string"
        }
      ],
      "schema_id": "customer_management_schema_v1"
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://app.polytomic.com/api/harbors/248df4b7-aa70-47b8-a036-33ac447e668d/action-configuration/connections/248df4b7-aa70-47b8-a036-33ac447e668d/schemas/schema_id/operations"

payload = {}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript
const url = 'https://app.polytomic.com/api/harbors/248df4b7-aa70-47b8-a036-33ac447e668d/action-configuration/connections/248df4b7-aa70-47b8-a036-33ac447e668d/schemas/schema_id/operations';
const options = {
  method: 'GET',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{}'
};

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"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://app.polytomic.com/api/harbors/248df4b7-aa70-47b8-a036-33ac447e668d/action-configuration/connections/248df4b7-aa70-47b8-a036-33ac447e668d/schemas/schema_id/operations"

	payload := strings.NewReader("{}")

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

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	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.polytomic.com/api/harbors/248df4b7-aa70-47b8-a036-33ac447e668d/action-configuration/connections/248df4b7-aa70-47b8-a036-33ac447e668d/schemas/schema_id/operations")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

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.polytomic.com/api/harbors/248df4b7-aa70-47b8-a036-33ac447e668d/action-configuration/connections/248df4b7-aa70-47b8-a036-33ac447e668d/schemas/schema_id/operations")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://app.polytomic.com/api/harbors/248df4b7-aa70-47b8-a036-33ac447e668d/action-configuration/connections/248df4b7-aa70-47b8-a036-33ac447e668d/schemas/schema_id/operations', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://app.polytomic.com/api/harbors/248df4b7-aa70-47b8-a036-33ac447e668d/action-configuration/connections/248df4b7-aa70-47b8-a036-33ac447e668d/schemas/schema_id/operations");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://app.polytomic.com/api/harbors/248df4b7-aa70-47b8-a036-33ac447e668d/action-configuration/connections/248df4b7-aa70-47b8-a036-33ac447e668d/schemas/schema_id/operations")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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