curl --request POST \
  --url https://app.langtrace.ai/api/api-key?project_id=cm0u2v1620001fmtvf2t8kd07 \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: 6bd254a6615f48ea0da16823520db8efa4caa4186f62385fbd0f03324c7edcb5' \
{
    "apiKey" : "09dcd4714134db52615e79207e340f54b46311cc8b00cf501f4d86fc6906fa13"
}
You can find the projectId when you click on your project and copying the Project ID at the top of the Traces table. You will need a team level API key which can be generated by navigating to the Home page and clicking Settings -> API Keys -> Generate API Key.

A complete list of supported parameters for the POST project api key endpoint is provided below.

project_Id
string
required

ID of your project. This can be found on the langtrace ui.

apiKey
string

Project api key

curl --request POST \
  --url https://app.langtrace.ai/api/api-key?project_id=cm0u2v1620001fmtvf2t8kd07 \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: 6bd254a6615f48ea0da16823520db8efa4caa4186f62385fbd0f03324c7edcb5' \
{
    "apiKey" : "09dcd4714134db52615e79207e340f54b46311cc8b00cf501f4d86fc6906fa13"
}