Skip to main content

SDK & API

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.
Just getting started? Check out our development quickstart guide.

Not a developer?

Use Collate’s no-code options or apps from our partners to get started with Collate and to do more with your Stripe account—no code required.
https://api.collate.com
Python
# Python code example

Authentication

Let’s suppose that we have our local OpenMetadata server running at http:localhost:8585. We can play with it with simple cURL or httpie commands, and if we just want to take a look at the Entity instances we have lying around, that might probably be enough.However, let’s imagine that we want to create or update an ML Model Entity with a PUT. To do so, we need to make sure that we are providing a proper JSON, covering all the attributes and types required by the Entity definition.By reviewing the JSON Schema for the create operation and the fields definitions of the Entity, we could come up with a rather simple description of a toy ML Model:
GLOBAL API KEY
import  collate
collate.api_key = "ck_test_tR3PYbcVNZZ796tH88Su"
PRE-REQUEST API KEY
import  collate
collate.api_key = "ck_test_tR3PYbcVNZZ796tH88Su"

Errors

Let’s suppose that we have our local OpenMetadata server running at http:localhost:8585. We can play with it with simple cURL or httpie commands, and if we just want to take a look at the Entity instances we have lying around, that might probably be enough.However, let’s imagine that we want to create or update an ML Model Entity with a PUT. To do so, we need to make sure that we are providing a proper JSON, covering all the attributes and types required by the Entity definition.By reviewing the JSON Schema for the create operation and the fields definitions of the Entity, we could come up with a rather simple description of a toy ML Model:
GLOBAL API KEY
import  collate
collate.api_key = "ck_test_tR3PYbcVNZZ796tH88Su"
PRE-REQUEST API KEY
import  collate
collate.api_key = "ck_test_tR3PYbcVNZZ796tH88Su"