Secoda API
Secoda is an AI platform for data and analytics that helps teams manage trusted metadata, lineage, documentation, governance, and workspace activity. The Secoda API connector reads catalog resources, integrations, database assets, dashboards, lineage, questions, documents, monitors, audit logs, and AI usage data from a Secoda workspace, and can send approved create, update, and delete requests to Secoda API endpoints.
Power end-to-end data operations for your Secoda API API with Nexla. Our bi-directional Secoda API connector is purpose-built for Secoda API, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to Secoda API or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your Secoda API workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
Before creating a Secoda API credential in Nexla, generate an API key in the Secoda workspace that has access to the data and write operations you plan to use. Secoda's API documentation states that API requests require an Authorization header with a bearer token, and that API keys are generated from workspace settings.
To obtain a Secoda API key:
-
Sign in to your Secoda workspace with a user account that has access to the API settings.
-
Navigate to Workspace settings.
-
Open the API page to view existing API keys.
-
Click Generate New API Key.
-
Copy the generated key immediately and store it securely. Secoda notes that the key has the same access to the workspace as the user who created it.
-
Confirm the workspace region so API requests use the correct base URL. Secoda documents
api.secoda.cofor US workspaces,eapi.secoda.cofor EU workspaces, andaapi.secoda.cofor APAC workspaces. Managed or on-premise workspaces use the custom workspace domain followed by the API version path.
Treat the Secoda API key as a sensitive secret. Rotate the key if it is exposed, and generate keys from an account with the minimum workspace access needed for the sources or destinations you plan to run.
For more information, see the Secoda API authentication guide and Secoda API getting started guide.
Authenticate
Create a credential in Nexla
-
After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
Resource descriptions are recommended but are not required. Use them to identify the Secoda workspace, region, or access level represented by this credential.
-
Enter the Secoda API key in the API Key field.
-
Enter the Secoda API base URL for the workspace. The default value is
https://api.secoda.cofor US workspaces. Usehttps://eapi.secoda.cofor EU workspaces,https://aapi.secoda.cofor APAC workspaces, or the custom managed workspace domain for managed or on-premise deployments. Nexla sends the key to Secoda as a bearer token in theAuthorizationheader when running sources and destinations. -
Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the Secoda API connector tile, then select the credential that will be used to connect to the Secoda workspace, and click Next; or, create a new Secoda API credential for use in this flow. The credential controls the Secoda API base URL, so use the credential that matches the workspace region or managed domain.
In Nexla, Secoda API data sources can be created using pre-built endpoint templates. These templates cover common Secoda API resources such as catalog assets, integrations, database metadata, dashboards, lineage, workspace users, documents, monitors, audit logs, and AI usage data.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources for common Secoda API endpoints. Secoda's APIs generally follow a CRUD pattern, and the read templates in this connector focus on list-style endpoints that are appropriate for ingestion. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.
Many Secoda list endpoints return paginated responses with page metadata and next-page links. Nexla follows the configured pagination template when the endpoint exposes pagination in the Secoda OpenAPI schema.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
Secoda API data sources can also be manually configured to ingest data from any valid Secoda API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.
Secoda documents api.secoda.co, eapi.secoda.co, and aapi.secoda.co as regional API hosts, plus custom domains for managed and on-premise workspaces. For manual requests, include the same Secoda API credential used by the connector. The API key must be sent as a bearer token in the Authorization header. For endpoint behavior and examples, see the Secoda API reference and Secoda API examples.
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new Secoda API data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.
Use as a destination
Click the + icon on the Nexset that will be sent to the Secoda API destination, and select the Send to Destination option from the menu. Select the Secoda API connector from the list of available destination connectors, then select the credential that will be used to connect to the Secoda workspace, and click Next; or, create a new Secoda API credential for use in this flow.
Endpoint templates
Nexla provides pre-built destination templates for common Secoda write operations. Each template sets the API method and endpoint path for a specific Secoda operation. The connector includes templates for supported POST, PUT, PATCH, and DELETE operations from the Secoda API. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Manual configuration
Secoda API destinations can also be manually configured to send data to any valid Secoda API endpoint that is not included in the pre-built templates. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, attribute exclusions, record batching, and response webhooks.
Secoda destination templates use POST, PUT, PATCH, or DELETE. Use the base URL from the selected credential and include any required path parameters in the endpoint path. For create and update operations, the default body template is {message.json}, which sends each Nexset record as a JSON object. Confirm that your Nexset schema matches the request schema expected by the selected Secoda API endpoint. For complete endpoint details, see the Secoda API reference.
Save & activate
Once all endpoint settings have been configured, click the Done button in the upper right corner of the screen to save and create the destination. To send the data to the configured Secoda API endpoint, open the destination resource menu, and select Activate.
The Nexset data will not be sent to the Secoda API endpoint until the destination is activated. Destinations can be activated immediately or at a later time, providing full control over data movement.