Skip to main content
POST
/
assets
Create a new asset
curl --request POST \
  --url https://api.matia.io/v1/assets \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "type": "<string>",
  "description": "<string>",
  "connection": {},
  "connectionType": "source"
}'
{
  "code": "<string>",
  "data": {
    "id": "<string>",
    "name": "<string>",
    "type": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
name
string

Name of the asset

type
string

Type of the asset

description
string
connection
object

Connection details

connectionType
enum<string>
Available options:
source,
destination

Response

Asset created successfully

code
string
data
object
I