import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
modelry: {
type: "app",
app: "modelry",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.modelry.ai/api/v1/workspaces`,
headers: {
"Content-Type": `application/json`,
"Authorization": `${this.modelry.$auth.api_token}`,
},
})
},
})
Get details of the product with the specified ID. See the documentation
Modelry uses API keys for authentication. When you connect your Modelry account, Pipedream securely stores the keys so you can easily authenticate to Modelry APIs in both code and no-code steps.
To retrieve your Workspace ID and API Token,