Creating Patterns

post
Create Anonymous Pattern

https://api.sentenai.com/patterns
Request
Response
Request
Headers
Auth-Key
required
string
Your Sentenai API key
Body Parameters
pattern
required
string
Neoflare query string
Response
201: Created

post
Create Named Pattern

https://api.sentenai.com/patterns/<pattern-name>
Request
Response
Request
Headers
Auth-Key
required
string
Your Sentenai API key
Body Parameters
pattern
required
string
Neoflare query string
description
required
string
Describe the saved pattern
Response
201: Created
409: Conflict
{
"code": 409,
"message": "That pattern name is already in use"
}

put
Set Named Pattern

https://api.sentenai.com/patterns/<pattern-name>
Request
Response
Request
Headers
Auth-Key
required
string
Your Sentenai API key
Body Parameters
pattern
required
string
Neoflare query string
description
required
string
Describe the saved pattern
Response
201: Created