> 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) — Operations available for the action schema

## Errors

### 403 Forbidden Error

Forbidden

- `key` (string, optional) — Machine-readable error key, when the error has one
- `message` (string, optional) — Error message
- `metadata` (map from string to any, optional) — Structured details about the error, when available
- `status` (integer, optional) — HTTP status code

### 404 Not Found Error

Not Found

- `key` (string, optional) — Machine-readable error key, when the error has one
- `message` (string, optional) — Error message
- `metadata` (map from string to any, optional) — Structured details about the error, when available
- `status` (integer, optional) — HTTP status code

### 409 Conflict Error

Conflict

- `key` (string, optional) — Machine-readable error key, when the error has one
- `message` (string, optional) — Error message
- `metadata` (map from string to any, optional) — Structured details about the error, when available
- `status` (integer, optional) — HTTP status code

### 422 Unprocessable Entity Error

Unprocessable Entity

- `key` (string, optional) — Machine-readable error key, when the error has one
- `message` (string, optional) — Error message
- `metadata` (map from string to any, optional) — Structured details about the error, when available
- `status` (integer, optional) — HTTP status code

### 500 Internal Server Error

Internal Server Error

- `key` (string, optional) — Machine-readable error key, when the error has one
- `message` (string, optional) — Error message
- `metadata` (map from string to any, optional) — Structured details about the error, when available
- `status` (integer, optional) — HTTP status code

### 503 Service Unavailable Error

Service Unavailable

- `key` (string, optional) — Machine-readable error key, when the error has one
- `message` (string, optional) — Error message
- `metadata` (map from string to any, optional) — Structured details about the error, when available
- `status` (integer, optional) — HTTP status code

## 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) — Provider idempotency guarantees, when supported
- `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

**Response**

```json
{
  "data": [
    {
      "description": "string",
      "effect": "mutating",
      "idempotency": {
        "retention_ns": 1,
        "scope": "string"
      },
      "input_fields": [
        {
          "description": "string",
          "id": "string",
          "max_bytes": 1,
          "name": "string",
          "non_blank": true,
          "nullable": true,
          "pattern": "string",
          "required": true,
          "type": "string"
        }
      ],
      "lookup_fields": [
        {
          "description": "string",
          "id": "string",
          "max_bytes": 1,
          "name": "string",
          "non_blank": true,
          "nullable": true,
          "pattern": "string",
          "required": true,
          "type": "string"
        }
      ],
      "name": "string",
      "operation_id": "string",
      "output_fields": [
        {
          "description": "string",
          "id": "string",
          "max_bytes": 1,
          "name": "string",
          "non_blank": true,
          "nullable": true,
          "pattern": "string",
          "required": true,
          "type": "string"
        }
      ],
      "schema_id": "string"
    }
  ]
}
```

**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"

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

response = requests.get(url, 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>'}};

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

	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.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>'

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>")
  .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', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

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

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

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